// For Vim users
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
:markslists 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/gacross the project, withiandnflags,\<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:backlinksjumps to one. Renaming or moving a task never breaks its links. - Windows.
:vsplitopens a second project beside the first; ww switches panes, and dd, ww, p moves a task across.:qcloses the pane.
The keys you will use most
A curated subset, not the full map. In the app, ? and :h have the rest.
| Keys | What they do |
|---|---|
| j k | Down / up |
| gg G | First / last item |
| Ctrl-d Ctrl-u | Half a page down / up |
| h l | Fold / unfold the subtasks (z toggles) |
| Shift+→ Shift+← | Zoom into a task / out one level |
| / then n N | Search this project, next / previous match |
| v J K | Visual mode; extend the selection down / up |
| Keys | What they do |
|---|---|
| i a | Edit the task at the start / end (insert mode) |
| o O | New task below / above |
| cc | Change the title: clear it and type (Esc puts it back) |
| Esc | Back to normal mode |
| Space | Toggle complete |
| >> << | Indent / outdent (Tab Shift-Tab too) |
| Ctrl-j Ctrl-k | Move the task down / up |
| dd yy p | Cut / copy / paste |
| u Ctrl-r | Undo / redo |
| . | Repeat the last change |
| s | Set a due date |
| 1 2 3 0 | High / medium / low / no priority |
| Keys | What they do |
|---|---|
| : | Command line |
| ? | Show the shortcuts |
| gh ga gw | Go home / to the agenda / to the week view |
| gl | Switch project (picker) |
| ma 'a | Set mark a / jump to it, in any project |
| Ctrl-o Ctrl-i | Older / newer place in the jump list |
| gd gf | Follow the task's [[link]] / show its info and what links to it |
| n N | Show the task's note / open it in the editor |
| ww | Other pane, in split view |
| Command | What it does |
|---|---|
:kanban :list | This project as a board, and back to the list |
:week | Every project's dated tasks in seven day columns |
:vsplit :q | A second project side by side; close it |
:move | Move the task, with subtasks, notes and files, to another project |
:filter :sort | Show only matching tasks; reorder the project |
:s/old/new/g :%s | Find and replace in the task, or in the whole project |
:marks :backlinks | List your marks; list the tasks that link here |
:trash :archive | Deleted tasks (kept 30 days) and archived ones, ready to restore |
:export :import | Download the project; bring in an outline |
:colorscheme | Switch the colour theme |
:h dd | Help 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.
:wsaves (it also saves when you pause),:q,:wqand:xsave and close,:q!closes without saving, and:recoverbrings that text back.- Space p previews the Markdown, Space o jumps to a heading, ]] and [[ move between headings.
[[Title]]links to another task,:historyshows 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
:trashfor 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.