mirror of
https://github.com/freitass/todo.txt-vim.git
synced 2025-11-11 03:13:46 -05:00
Merge pull request #80 from ramses0/patch-1
This commit is contained in:
@@ -26,7 +26,7 @@ function! s:get_current_date()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! todo#txt#prepend_date()
|
function! todo#txt#prepend_date()
|
||||||
execute 'normal! I' . s:get_current_date() . ' '
|
execute 'normal! 0i' . s:get_current_date() . ' '
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! todo#txt#replace_date()
|
function! todo#txt#replace_date()
|
||||||
@@ -41,7 +41,7 @@ endfunction
|
|||||||
function! todo#txt#mark_as_done()
|
function! todo#txt#mark_as_done()
|
||||||
call s:remove_priority()
|
call s:remove_priority()
|
||||||
call todo#txt#prepend_date()
|
call todo#txt#prepend_date()
|
||||||
execute 'normal! Ix '
|
execute 'normal! 0ix '
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! todo#txt#mark_all_as_done()
|
function! todo#txt#mark_all_as_done()
|
||||||
|
|||||||
Reference in New Issue
Block a user