improvement: allow to repeat with .
This commit is contained in:
parent
7e3db5f517
commit
51806e3548
@ -29,7 +29,7 @@ INSTALLATION
|
||||
2. Create a keyboard binding for the `ArgWrap` command inside your `~/.vimrc` file.
|
||||
For example, to declare a normal mode mapping, add the following command:
|
||||
>
|
||||
nnoremap <silent> <leader>a :ArgWrap<CR>
|
||||
nmap <silent> <leader>a <Plug>(ArgWrapToggle)
|
||||
<
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -19,3 +19,6 @@
|
||||
|
||||
|
||||
command! ArgWrap call argwrap#toggle()
|
||||
|
||||
nnoremap <silent> <Plug>(ArgWrapToggle) :call argwrap#toggle() <BAR>
|
||||
\ silent! call repeat#set("\<Plug>(ArgWrapToggle)")<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user