Merge pull request #22 from elythyr/improvement-repeat
improvement: allow to repeat with .
This commit is contained in:
commit
92c418f57b
@ -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