Last active
November 24, 2015 15:29
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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