mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Fix <Plug>-based ODL on visual range spanning multiple lines
This commit is contained in:
parent
f1c5157e35
commit
90c07f269c
2
plug.vim
2
plug.vim
@ -144,7 +144,7 @@ function! plug#end()
|
|||||||
for [mode, map_prefix, key_prefix] in
|
for [mode, map_prefix, key_prefix] in
|
||||||
\ [['i', "<C-O>", ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']]
|
\ [['i', "<C-O>", ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']]
|
||||||
execute printf(
|
execute printf(
|
||||||
\ "%snoremap <silent> %s %s:call <SID>lod_map(%s, %s, '%s')<CR>",
|
\ "%snoremap <silent> %s %s:<C-U>call <SID>lod_map(%s, %s, '%s')<CR>",
|
||||||
\ mode, cmd, map_prefix, string(cmd), string(plug), key_prefix)
|
\ mode, cmd, map_prefix, string(cmd), string(plug), key_prefix)
|
||||||
endfor
|
endfor
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user