Fix <Plug>-based ODL on visual range spanning multiple lines
This commit is contained in:
parent
f1c5157e35
commit
90c07f269c
1 changed files with 1 additions and 1 deletions
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 a new issue