diff options
author | Teddy Wing | 2020-10-20 19:41:25 +0200 |
---|---|---|
committer | Teddy Wing | 2020-10-21 19:53:43 +0200 |
commit | f3ee7ca8ae9bbf9cfdc4c2bd438a8fac9b365d77 (patch) | |
tree | 94088eb155aef1ecde6d088744f1d26268633b42 /vimrc | |
parent | 284d25e594cc6cd39547f3ee7e9f568b2017aabd (diff) | |
download | dotvim-f3ee7ca8ae9bbf9cfdc4c2bd438a8fac9b365d77.tar.bz2 |
vimrc: Make the `gS` command repeatable
Allow repeating the ArgWrap mapping via 'repeat.vim' to make it even
easier to use.
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -473,6 +473,9 @@ " 2020.10.13: " * Add command alias `T` to `TComment`. " +" 2020.10.19: +" * Make `gS` command repeatable. +" " Pathogen @@ -715,7 +718,7 @@ nnoremap <leader>sm :call whitespace_method_chain#SplitMethodChainToMultipleLine " ArgWrap -nnoremap gS :ArgWrap<cr> +nnoremap gS :call argwrap#toggle() <Bar> silent! call repeat#set('gS')<cr> " TComment |