vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit 413b9ca04fe079a0eb3e93173755e2b020fff92f
parent 013603930679ec801249371e7a55db2a9abbb995
Author: Michael F. Schönitzer <michael@schoenitzer.de>
Date:   Sat,  5 Aug 2017 17:32:15 +0200

Add default keybinding glx for toggling disabled

Diffstat:
Mdoc/vimwiki.txt | 9++++++++-
Mftplugin/vimwiki.vim | 4++++
2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt @@ -456,6 +456,13 @@ gLI Change the symbol of the current list to noremap glo :VimwikiChangeSymbolTo I)<CR> noremap glO :VimwikiChangeSymbolInListTo I)<CR> < + *vimwiki_glx* +glx Toggle checkbox of a list item disabled/off. + Maps to |:VimwikiToggleListItemRejected|. + See |vimwiki-todo-lists|. + To remap: > + :map <Leader>tx <Plug>VimwikiToggleListItemRejected +< *vimwiki_gqq* *vimwiki_gww* gqq Format table. If you made some changes to a table or without swapping insert/normal modes this command @@ -1626,7 +1633,7 @@ gL<Space> (see |vimwiki_gL<Space>|) to remove all checkboxes of the list the cursor is in. You can mark an item as rejected ("won't do") with -|:VimwikiToggleListItemRejected.| It will not influence the status of it's +|vimwiki_glx|. A rejected item will not influence the status of it's parents. diff --git a/ftplugin/vimwiki.vim b/ftplugin/vimwiki.vim @@ -443,6 +443,10 @@ if !hasmapto('<Plug>VimwikiToggleListItem') vmap <silent><buffer> <C-@> <Plug>VimwikiToggleListItem endif endif +if !hasmapto('<Plug>VimwikiToggleListItemRejected') + nmap <silent><buffer> glx <Plug>VimwikiToggleListItemRejected + vmap <silent><buffer> glx <Plug>VimwikiToggleListItemRejected +endif nnoremap <silent><script><buffer> \ <Plug>VimwikiToggleListItem :VimwikiToggleListItem<CR> vnoremap <silent><script><buffer>