mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-10 02:41:50 +08:00
Always set register in map-based ODL
This commit is contained in:
2
plug.vim
2
plug.vim
@@ -496,8 +496,8 @@ function! s:lod_map(map, names, prefix)
|
||||
if v:count
|
||||
call feedkeys(v:count, 'n')
|
||||
endif
|
||||
call feedkeys('"'.v:register, 'n')
|
||||
if mode(1) == 'no'
|
||||
call feedkeys('"'.v:register, 'n')
|
||||
call feedkeys(v:operator)
|
||||
endif
|
||||
call feedkeys(a:prefix . substitute(a:map, '^<Plug>', "\<Plug>", '') . extra)
|
||||
|
||||
Reference in New Issue
Block a user