diff options
Diffstat (limited to 'projects/aodocs.vim')
-rw-r--r-- | projects/aodocs.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/aodocs.vim b/projects/aodocs.vim index fd92016..b965ce4 100644 --- a/projects/aodocs.vim +++ b/projects/aodocs.vim @@ -97,5 +97,6 @@ function! s:TodoCopyLast() ?\n\n\zs\d? " Increment day, then put the current entry at the top of the window - execute "normal! $h\<C-a>zt2\<C-e>" + call setline('.', strftime('%Y.%m.%d:')) + execute "normal! zt2\<C-e>" endfunction |