@@ -92,7 +92,7 @@ COMMANDS *obsidian-commands*
92
92
- `:Obsidian tags [TAG ...]` for getting a picker list of all occurrences of the
93
93
given tags.
94
94
- `:Obsidian today [OFFSET] ` to open/create a new daily note. This command also
95
- takes an optional offset in days, e.g. use `:Obsidian today -1` to go to
95
+ takes an optional offset in days, e.g.use `:Obsidian today -1` to go to
96
96
yesterday’s note. Unlike `:Obsidian yesterday` and `:Obsidian tomorrow` this
97
97
command does not differentiate between weekdays and weekends.
98
98
- `:Obsidian yesterday` to open/create the daily note for the previous working
@@ -127,14 +127,16 @@ COMMANDS *obsidian-commands*
127
127
Since this command is still relatively new and could potentially write a lot of
128
128
changes to your vault, I highly recommend committing the current state of your
129
129
vault (if you’re using version control) before running it, or doing a dry-run
130
- first by appending "–dry-run" to the command, e.g. `:Obsidian rename new-id
130
+ first by appending "–dry-run" to the command, e.g.`:Obsidian rename new-id
131
131
--dry-run`.
132
132
- `:Obsidian toggle_checkbox` to cycle through checkbox options.
133
133
- `:Obsidian new_from_template [TITLE] ` to create a new note from a template in
134
134
the templates folder. Selecting from a list using your preferred picker. This
135
135
command has one optional argument: the title of the new note.
136
136
- `:Obsidian toc` to load the table of contents of the current note into a picker
137
137
list.
138
+ - `:Obsidian tasks [STATUS] ` to load the list of tasks of the current vault into
139
+ a picker list.
138
140
139
141
140
142
DEMO *obsidian-demo*
@@ -160,7 +162,7 @@ all of obsidian.nvim’s functionality:
160
162
- **MacOS** users need `pngpaste` <https://github.com/jcsalterego/pngpaste > (`brew install pngpaste`) for the `:Obsidian pasteimg` command.
161
163
- **Linux** users need xclip (X11) or wl-clipboard (Wayland) for the `:Obsidian pasteimg` command.
162
164
163
- Search functionality (e.g. via the `:Obsidian search` and `:Obsidian
165
+ Search functionality (e.g. via the `:Obsidian search` and `:Obsidian
164
166
quickswitch` commands) also requires a picker such telescope.nvim
165
167
<https://github.com/nvim-telescope/telescope.nvim > (see
166
168
| obsidian-plugin-dependencies | below).
@@ -580,12 +582,12 @@ carefully and customize it to your needs:
580
582
max_file_length = 5000, -- disable UI features for files with more than this many lines
581
583
-- Define how various check-boxes are displayed
582
584
checkboxes = {
583
- -- NOTE: the 'char' value has to be a single character, and the highlight groups are defined below.
584
- [" "] = { char = "", hl_group = "ObsidianTodo" },
585
- ["x"] = { char = "", hl_group = "ObsidianDone" },
586
- [">"] = { char = "", hl_group = "ObsidianRightArrow" },
587
- ["~"] = { char = "", hl_group = "ObsidianTilde" },
588
- ["!"] = { char = "", hl_group = "ObsidianImportant" },
585
+ -- NOTE: the 'char' value and the status has to be a single character, and the highlight groups are defined below.
586
+ [" "] = { char = "", order = 1, name = "todo", hl_group = "ObsidianTodo" },
587
+ ["x"] = { char = "", order = 2, name = "done", hl_group = "ObsidianDone" },
588
+ [">"] = { char = "", order = 3, name = "doing", hl_group = "ObsidianRightArrow" },
589
+ ["~"] = { char = "", order = 4, name = "cancelled", hl_group = "ObsidianTilde" },
590
+ ["!"] = { char = "", order = 5, name = "important", hl_group = "ObsidianImportant" },
589
591
-- Replace the above with this if you don't have a patched font:
590
592
-- [" "] = { char = "☐", hl_group = "ObsidianTodo" },
591
593
-- ["x"] = { char = "✔", hl_group = "ObsidianDone" },
0 commit comments