-
-
Save mt3/2336643 to your computer and use it in GitHub Desktop.
Adds "@done YY-MM-DD" to taskpaper notes edited in Vim
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
:fu! Taskpaper() | |
:return setline(line("."), getline(line(".")) . "@done(" . strftime("%Y-%m-%d") . ")") | |
:endf | |
:map <F11> <ESC>:call Taskpaper()<CR><ESC> | |
:imap <F11> <ESC>:call Taskpaper()<CR><ESC> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment