From f23b1c2cac9d2407825ff1cae01ecd1ea93510ff Mon Sep 17 00:00:00 2001 From: fretep Date: Thu, 19 Apr 2018 21:37:53 +1000 Subject: [PATCH] Update mappings to be more consistent in use of map arguments, and also move the mappings outside of the Todo_txt_do_not_map block --- ftplugin/todo.vim | 101 +++++++++++++++++++++++++--------------------- 1 file changed, 54 insertions(+), 47 deletions(-) diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index ed3d53e..2083426 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -26,74 +26,81 @@ setlocal nrformats+=alpha " Mappings {{{1 -nnoremap TodotxtIncrementDueDateNormal :call ChangeDueDateWrapper(1, "\TodotxtIncrementDueDateNormal") -vnoremap TodotxtIncrementDueDateVisual :call ChangeDueDateWrapper(1, "\TodotxtIncrementDueDateVisual") -nnoremap TodotxtDecrementDueDateNormal :call ChangeDueDateWrapper(-1, "\TodotxtDecrementDueDateNormal") -vnoremap TodotxtDecrementDueDateVisual :call ChangeDueDateWrapper(-1, "\TodotxtDecrementDueDateVisual") +" mappings that users can map alternate keys to {{{2 +" if they choose not to map default keys (or otherwise) +nnoremap