Open
Description
I was trying to make these mappings repeatable:
xnoremap < <gv
xnoremap > >gv
My initial stab at this was:
xnoremap <silent> <Plug>DedentAndReselect <gv
\ :silent! call repeat#set("\<Plug>DedentAndReselect")<CR>
xmap < <Plug>DedentAndReselect
Alas, entering command mode in order to invoke repeat#set
knocks us out of visual mode, undoing the desired effect of the gv
.
I tried a number of different hacky workarounds in an attempt to get this to work, but without success.
Does this seem like something that should be possible with vim-repeat?
Metadata
Metadata
Assignees
Labels
No labels