Skip to content

Instantly share code, notes, and snippets.

@aldenks
Last active November 24, 2015 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aldenks/c841bc8aab8aadc89831 to your computer and use it in GitHub Desktop.
Save aldenks/c841bc8aab8aadc89831 to your computer and use it in GitHub Desktop.
Use vim as a todo / done list. Set up your todo list in a left vertical split and your done list in the right split.
" Todo Mappings
" Example gif https://twitter.com/aldenks/status/669175868321832960
" Moves an item from a todo list on the left of a split
" to the top of a 'done' list in the split to the right
map > dd<C-w>lggP<C-w>h
" Moves an item from a 'done' list back over to the top
" of a todo list in a split to the left and leaves the cursor
" over in the todo side
map < dd<C-w>hggP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment