1
mirror of https://github.com/junegunn/vim-plug.git synced 2024-12-28 14:24:47 -07:00

Fix <Plug>-based ODL on visual range spanning multiple lines

This commit is contained in:
Junegunn Choi 2014-07-07 22:55:44 +09:00
parent f1c5157e35
commit 90c07f269c

View File

@ -144,7 +144,7 @@ function! plug#end()
for [mode, map_prefix, key_prefix] in
\ [['i', "<C-O>", ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']]
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)
endfor
endif