Keep notes in Obsidian and stay in Neovim when it is time to execute. The plugin reads ordinary Markdown checkboxes, builds an ordered tag tree, and lets you complete or create tasks without introducing a database or rewriting your vault.
| Capability | |
|---|---|
| ποΈ | Combine multiple vaults in one view or switch repositories with tabs inside the task view |
| π³ | Group tasks recursively by tag order: #work #frontend #urgent |
| β‘ | Complete tasks with <Space> and append β
YYYY-MM-DD automatically |
| βοΈ | Create tasks through a guided repository, tag, start date, and deadline flow |
| πͺ | Use a centered floating window or a regular native split |
| π | Detect stale source lines before writing and update files atomically |
| π§© | Run on the built-in Neovim API with no required dependencies |
{
"jjuchara/obsidian-tasks.nvim",
opts = {
repositories = {
{
name = "personal",
alias = "Personal tasks",
path = "~/notes/personal/Tasks.md",
},
},
mappings = {
open = "<leader>to",
create = "<leader>ta",
},
},
}
git clone https://github.com/jjuchara/obsidian-tasks.nvim \
~/.local/share/nvim/site/pack/plugins/start/obsidian-tasks.nvim
Then call setup() from your configuration.
The only required option is repositories. A repository accepts either a direct path to a task file or a vault plus a relative todo_file. Its optional alias is used as the display label while name remains the repository identifier.
require("obsidian-tasks").setup({
repositories = {
{
name = "personal",
alias = "Personal tasks", -- optional display label
path = "~/notes/personal/Tasks.md",
},
{
name = "work",
vault = "~/notes/work",
todo_file = "Projects/Tasks.md",
},
},
view = {
type = "float", -- "float" or "window"
width = 0.5, -- fraction of editor width
height = 0.5, -- fraction of editor height
border = "rounded",
title = " Obsidian tasks ",
close_on_leave = true, -- close a float when focus leaves it
repository_mode = "sections", -- "sections" or "tabs"
window_command = "botright new",
status = "active", -- "active", "done", or "all"
sort = "source", -- "source", "deadline", or "title"
},
dates = {
display_format = "%d.%m.%Y", -- strftime format used in the task view
},
creation = {
default_start_today = true,
prompt_additional_tags = true,
infinity_marker = "βΎοΈ",
},
completion = {
marker = "β
",
},
mappings = {
open = "<leader>to", -- global mapping, nil disables it
create = "<leader>ta", -- global mapping, nil disables it
toggle = "<Space>",
edit = "<CR>",
refresh = "r",
close = { "q", "<Esc>" },
cycle_status = "s",
cycle_sort = "o",
next_repository = "<Tab>",
previous_repository = "<S-Tab>",
},
})
| Command | Action |
|---|---|
:ObsidianTasks |
Open the task view |
:ObsidianTasksCreate |
Start the guided creation flow |
:ObsidianTasksRefresh |
Reload every open task view |
:ObsidianTasksSort [source|deadline|title] |
Set sorting, or cycle it without an argument |
| Key | Action |
|---|---|
<Space> |
Toggle the task under the cursor |
<CR> |
Open the Markdown source at the task line |
s |
Cycle active β done β all |
o |
Cycle source β deadline β title sorting |
r |
Refresh from disk |
q, <Esc> |
Close the view |
A floating view is modal by default: clicking another window closes it. Set view.close_on_leave = false if you prefer a persistent float.
gantt urgent, #gantt #urgent, or gantt, urgent.yesterday, today, tomorrow, an ISO date such as 2026-07-10, or a date matching dates.display_format. Leading zeroes are optional, so 7.3.2026 is accepted for %d.%m.%Y.The completion notification shows the persisted tag path, for example #work β #gantt.
Dates are always stored as YYYY-MM-DD. dates.display_format changes rendered dates and the examples shown in creation prompts without modifying Markdown. Active tasks due today or tomorrow use ObsidianTasksDueSoon; overdue tasks use ObsidianTasksOverdue.
Deadline sorting adds virtual #overdue, #due-soon, and #on-track groups. #due-soon covers today and tomorrow; later deadlines, completed tasks, and tasks without deadlines are #on-track.
## #work
- [ ] Ship the release #work #frontend #urgent π
2026-07-10
- [x] Fix the regression #work #backend β
2026-07-02
Tags are significant from left to right:
#work
βββ #frontend
βββ #urgent
βββ Ship the release
When a task has no inline tag, the nearest ## #tag heading is used as a fallback. YAML frontmatter and fenced code blocks are ignored.
repository_mode = "sections" renders all repositories in one buffer with repository headers. repository_mode = "tabs" shows repository tabs inside the task view and renders tasks from the active repository. Use <Tab> / <S-Tab> or click a tab to switch repositories.
Run the test suite without a plugin manager:
nvim --headless -u NONE -i NONE \
"+set rtp+=$PWD" \
"+luafile tests/run.lua" \
+qa
See CONTRIBUTING.md for the contribution workflow and :help obsidian-tasks for the built-in manual.
The core workflow is usable today. Advanced queries, recurrence, live filesystem watching, and direct task editing are tracked in FUTURE.md.
MIT Β© 2026 jjuchara