From 97ae634b9fee4acf6003a2750071cbced0d9224e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20F=2E=20Sch=C3=B6nitzer?= Date: Sat, 16 Sep 2017 15:36:10 +0200 Subject: [PATCH] Renamed command Common prefix causes serious delays --- doc/vimwiki.txt | 6 +++--- ftplugin/vimwiki.vim | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt index 80ef89e..fe7c33b 100644 --- a/doc/vimwiki.txt +++ b/doc/vimwiki.txt @@ -458,10 +458,10 @@ gLI Change the symbol of the current list to < *vimwiki_glx* glx Toggle checkbox of a list item disabled/off. - Maps to |:VimwikiToggleListItemRejected|. + Maps to |:VimwikiToggleRejectedListItem|. See |vimwiki-todo-lists|. To remap: > - :map tx VimwikiToggleListItemRejected + :map tx VimwikiToggleRejectedListItem < *vimwiki_gqq* *vimwiki_gww* gqq Format table. If you made some changes to a table @@ -663,7 +663,7 @@ Vimwiki file. Toggle checkbox of a list item on/off. See |vimwiki-todo-lists|. -*:VimwikiToggleListItemRejected* +*:VimwikiToggleRejectedListItem* Toggle checkbox of a list item disabled/off. See |vimwiki-todo-lists|. diff --git a/ftplugin/vimwiki.vim b/ftplugin/vimwiki.vim index 63ae674..2679079 100644 --- a/ftplugin/vimwiki.vim +++ b/ftplugin/vimwiki.vim @@ -295,7 +295,7 @@ command! -buffer -range -nargs=1 VimwikiChangeSymbolTo call vimwiki#lst#change_m command! -buffer -range -nargs=1 VimwikiListChangeSymbolI call vimwiki#lst#change_marker(, , , 'i') command! -buffer -nargs=1 VimwikiChangeSymbolInListTo call vimwiki#lst#change_marker_in_list() command! -buffer -range VimwikiToggleListItem call vimwiki#lst#toggle_cb(, ) -command! -buffer -range VimwikiToggleListItemRejected call vimwiki#lst#toggle_rejected_cb(, ) +command! -buffer -range VimwikiToggleRejectedListItem call vimwiki#lst#toggle_rejected_cb(, ) command! -buffer -range VimwikiIncrementListItem call vimwiki#lst#increment_cb(, ) command! -buffer -range VimwikiDecrementListItem call vimwiki#lst#decrement_cb(, ) command! -buffer -range -nargs=+ VimwikiListChangeLvl call vimwiki#lst#change_level(, , ) @@ -443,18 +443,18 @@ if !hasmapto('VimwikiToggleListItem') vmap VimwikiToggleListItem endif endif -if !hasmapto('VimwikiToggleListItemRejected') - nmap glx VimwikiToggleListItemRejected - vmap glx VimwikiToggleListItemRejected +if !hasmapto('VimwikiToggleRejectedListItem') + nmap glx VimwikiToggleRejectedListItem + vmap glx VimwikiToggleRejectedListItem endif nnoremap