mirror of
https://github.com/freitass/todo.txt-vim.git
synced 2025-11-12 20:03:47 -05:00
Added mapping to mark done
This commit is contained in:
@@ -35,6 +35,11 @@ if !hasmapto("<leader>d",'v')
|
|||||||
vnoremap <script> <silent> <buffer> <leader>d c<C-R>=strftime("%Y-%m-%d")<CR><Esc>
|
vnoremap <script> <silent> <buffer> <leader>d c<C-R>=strftime("%Y-%m-%d")<CR><Esc>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Mark done {{{2
|
||||||
|
if !hasmapto("<leader>D",'n')
|
||||||
|
nnoremap <script> <silent> <buffer> <leader>D ix <ESC>"=strftime("%Y-%m-%d")<CR>P
|
||||||
|
endif
|
||||||
|
|
||||||
" Folding {{{1
|
" Folding {{{1
|
||||||
" Options {{{2
|
" Options {{{2
|
||||||
setlocal foldmethod=expr
|
setlocal foldmethod=expr
|
||||||
|
|||||||
Reference in New Issue
Block a user