The Vim todo app: an outliner you drive with Vim keys

If your fingers already know j, k, dd and :, TodoMode is a task list and outliner that speaks the same language. It runs in the browser and on your phone, and keeps them in sync.

Modes, the way Vim has them

A todo app with a normal mode. Keys are commands until you choose to type: i or a edits the task under the cursor, o opens a new one below, and Esc brings you back. : opens a command line, / searches, and nothing needs the mouse. Why bother with modes in a task list? There is a whole post on that: why your todo app should have a normal mode.

Help works the way it does in Vim: :h dd, :h move, :h CTRL-R, and :h then Tab lists everything there is help for. ? shows the shortcuts, and the full keyboard reference is public.

The grammar you already know

  • Motions and folds. j/k, gg/G, Ctrl-d/Ctrl-u. h and l fold and unfold an item's children, and Shift+→ zooms into one branch of the outline, which can be up to 50 levels deep.
  • Cut, copy, paste. dd cuts a task with its subtasks and p puts that same task back wherever you are; yy then p makes a copy.
  • Undo, redo, repeat. u, Ctrl-r, and . to repeat the last change on the task under the cursor.
  • Visual mode. v, then j/k or J/K to grow the selection; > and < shift it, and b opens bulk actions for everything selected.
  • Marks and the jump list. m and a letter marks a task; ' and the letter jumps back to it from any project, the agenda or home. '' returns to where the last jump started, Ctrl-o/Ctrl-i walk the jump list, and :marks lists them. Marks are saved to your account, so they follow you to every device.
  • Substitute. :s/teh/the/ on the selected task (or the visual selection), :%s/draft/final/g across the project, with i and n flags, \<word\> edges and & to repeat. One u undoes the whole substitute.
  • Links. Type [[ and a few letters while editing to link to another task, in any project. gd follows the link, gf shows what links to a task, and :backlinks jumps to one. Renaming or moving a task never breaks its links.
  • Windows. :vsplit opens a second project beside the first; ww switches panes, and dd, ww, p moves a task across. :q closes the pane.

The keys you will use most

A curated subset, not the full map. In the app, ? and :h have the rest.

Moving around
KeysWhat they do
j kDown / up
gg GFirst / last item
Ctrl-d Ctrl-uHalf a page down / up
h lFold / unfold the subtasks (z toggles)
Shift+→ Shift+←Zoom into a task / out one level
/ then n NSearch this project, next / previous match
v J KVisual mode; extend the selection down / up
Editing
KeysWhat they do
i aEdit the task at the start / end (insert mode)
o ONew task below / above
ccChange the title: clear it and type (Esc puts it back)
EscBack to normal mode
SpaceToggle complete
>> <<Indent / outdent (Tab Shift-Tab too)
Ctrl-j Ctrl-kMove the task down / up
dd yy pCut / copy / paste
u Ctrl-rUndo / redo
.Repeat the last change
sSet a due date
1 2 3 0High / medium / low / no priority
Jumping, notes and commands
KeysWhat they do
:Command line
?Show the shortcuts
gh ga gwGo home / to the agenda / to the week view
glSwitch project (picker)
ma 'aSet mark a / jump to it, in any project
Ctrl-o Ctrl-iOlder / newer place in the jump list
gd gfFollow the task's [[link]] / show its info and what links to it
n NShow the task's note / open it in the editor
wwOther pane, in split view
A few : commands
CommandWhat it does
:kanban :listThis project as a board, and back to the list
:weekEvery project's dated tasks in seven day columns
:vsplit :qA second project side by side; close it
:moveMove the task, with subtasks, notes and files, to another project
:filter :sortShow only matching tasks; reorder the project
:s/old/new/g :%sFind and replace in the task, or in the whole project
:marks :backlinksList your marks; list the tasks that link here
:trash :archiveDeleted tasks (kept 30 days) and archived ones, ready to restore
:export :importDownload the project; bring in an outline
:colorschemeSwitch the colour theme
:h ddHelp for any key or command, the way Vim does it

Typed, not clicked

Dates, tags and priorities go in the text as you type the task, so adding one is a single line and Enter:

Send the invoice due:fri at:9am #work !high
Water the plants @weekly
Call the dentist remind:3pm

due:fri, due:tom or due:2w for dates, at:9am for a time, #tags, !high for priority, @weekly to repeat, and remind:3pm for a reminder by email or browser push.

Notes with Vim keys

Every task can carry a long Markdown note. N opens it in a full-screen editor with Vim keys throughout: operators and motions, text objects such as ciw and dap, counts, ., registers, marks, macros, / search and :s.

  • :w saves (it also saves when you pause), :q, :wq and :x save and close, :q! closes without saving, and :recover brings that text back.
  • Space p previews the Markdown, Space o jumps to a heading, ]] and [[ move between headings.
  • [[Title]] links to another task, :history shows earlier versions, and pasted pictures are stored with the task.

n shows a note under its task without leaving the list, and gn lists every note you have.

Where it is not quite Vim

  • In the list, commands act on whole tasks rather than characters. Character-level Vim lives in the notes editor.
  • dd moves the task to the trash as it cuts, so even a cut you never paste can be restored from :trash for 30 days.
  • The split-view keys start with w (ww, wh, wl) rather than Ctrl-w, because Ctrl-w closes the browser tab and no website can stop it. Split view needs a window at least 900 pixels wide.

Not a terminal tool, on purpose

Vim users often keep tasks in a plain-text file or a terminal program. That is quick at your desk and out of reach on your phone. TodoMode keeps the keyboard grammar and runs somewhere you can reach from anywhere:

  • In any modern browser (Chrome, Edge, Firefox, Safari), and as an installable app on desktop and on your phone, with an offline mode. Your account keeps every device in sync.
  • On a phone you tap instead of typing j; the outline, the dates and the notes are the same.
  • Projects can be shared with other people, with read or edit access, which a file in your dotfiles cannot do.

And if you do want the terminal: the todomode command line adds and lists tasks from the shell, and todomode note 3 opens a note in your own $EDITOR. You can import your existing list in a minute, too.

Your keyboard works in the demo

The demo is the real app with a sample list and no account. Press j, try dd and u, type :kanban. When it clicks, the 7-day trial needs no credit card.

The demo is the real app, in your browser. The trial needs no credit card.