3 Tools to work with notes and tasks in neovim.
9 The minimal setup doesn't require any configuration, and sets the default paths and keybins as defined in the sections below.
12 require('lazy').setup({
13 'https://git.sr.ht/~rbdr/nota.nvim',
17 This plugin has an optional dependency: [fzf-lua][fzf-lua].
19 By default, nota adds keybinds that might not suit your style or conflict with other plugins. You can disable them with the `default_keybinds` option.
22 require('lazy').setup({
24 'git@git.sr.ht:~rbdr/nota.nvim',
26 default_keybinds = false
31 Here's the full configuration with its default values:
34 require('lazy').setup({
36 'git@git.sr.ht:~rbdr/nota.nvim',
38 nota_home = '~/.local/share/nota', -- Root location in which to store all notes
39 default_keybinds = true, -- Whether or not to set the default keybinds
40 periodic_locations = {
41 daily = 'periodic/daily', -- Location to store daily notes, relative to nota_home
42 weekly = 'periodic/weekly', -- Location to store weekly notes, relative to nota_home
43 monthly = 'periodic/monthly', -- Location to store monthly notes, relative to nota_home
44 seasonal = 'periodic/seasonal', -- Location to store seasonal notes, relative to nota_home
45 yearly = 'periodic/yearly' -- Location to store yearly notes, relative to nota_home
48 daily = 'templates/daily.md', -- Template for daily notes, relative to nota_home
49 weekly = 'templates/weekly.md', -- Template for weekly notes, relative to nota_home
50 monthly = 'templates/monthly.md', -- Template for monthly notes, relative to nota_home
51 seasonal = 'templates/seasonal.md', -- Template for seasonal notes, relative to nota_home
52 yearly = 'templates/yearly.md', -- Template for yearly notes, relative to nota_home
53 plan = 'templates/plan.md' -- Template for plan notes, relative to nota_home
56 inbox = 'inbox.md', -- Location of the file in which to store newly captured tasks, relative to nota_home
57 someday = 'someday.md' -- Location of the file in which to store indefinitely deferred tasks, relative to nota_home
60 learning_file = 'learning.md', -- Location of the file in which to store learning entries, relative to nota_home
61 prefix = '%Y-%x-%d: ' -- Prefix to add when capturing learning entries
64 archive = 'plans', -- Location of the plan archives.
65 plan_file = '~/.plan' -- Location of the active plan, the default is what is expected by finger.
75 - `<leader>od`, `:NotaOpenDailyNote`, Opens today's daily note.
76 - `<leader>ow`, `:NotaOpenWeeklyNote`, Opens this week's weekly note.
77 - `<leader>om`, `:NotaOpenMonthlyNote`, Opens this month's monthly note.
78 - `<leader>os`, `:NotaOpenSeasonalNote`, Opens this season's seasonal note.
79 - `<leader>oy`, `:NotaOpenYearlyNote`, Opens this year's yearly note.
80 - `<leader>on`, `:NotaOpenNote`, Opens an arbitrary note. (Requires [fzf-lua][fzf-lua])
83 - `<leader>oa`, `:NotaOpenAgenda`, Opens the agenda window with this week's tasks.
84 - `<leader>oo`, `:NotaOpenOpen`, Opens a window that lets you navigate through all open tasks.
85 - `<leader>oO`, `:NotaOpenOpenImportant`, Opens a window that lets you navigate through all open important tasks.
86 - `<leader>oj`, `:NotaOpenJournal`, Opens a window that lets you search completed tasks to find journal entries. (Requires [fzf-lua][fzf-lua] and ripgrep)
88 ### Task Handling Commands
89 - `<leader>t`, `:NotaToggleTask`, Toggles completion state of the task under the cursor.
90 - `<leader>st`, `:NotaToggleTaskImportance`, Toggles importance state of the task under the cursor. (- [ ] is a regular task, * [ ] is an important task)
91 - `<leader>it`, `:NotaInsertTask`, Inserts a task at cursor location.
92 - `<leader>ct`, `:NotaCaptureTask`, Captures a new task into the inbox.
93 - `<leader>Tt`, `:NotaTagTask`, Adds a tag to the current task.
94 - `<leader>rt`, `:NotaRescheduleTaskToday`, Reschedules the task under the cursor to today.
95 - `<leader>rT`, `:NotaRescheduleTaskTomorrow`, Reschedules the task under the cursor to tomorrow.
96 - `<leader>rs`, `:NotaRescheduleTaskSomeday`, Reschedules the task under the cursor to someday.
97 - `<leader>rr`, `:NotaRescheduleTask`, Reschedules the task under the cursor to an arbitrary date.
99 ### Learning Handling Commands
100 - `<leader>ol`, `:NotaOpenLearning`, Opens the learning file.
101 - `<leader>cl`, `:NotaCaptureLearning`, Captures a new task into the inbox.
103 ### Plan Handling Commands
104 - `<leader>op`, `:NotaOpenPlan`, Opens the current plan file.
105 - `<leader>cp`, `:NotaCapturePlan`, Captures a new plan and archives the current one.
107 [fzf-lua]: https://github.com/ibhagwan/fzf-lua