mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
Always set register in map-based ODL
This commit is contained in:
parent
44893a1901
commit
cb5bed0e35
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)
|
||||
|
Loading…
Reference in New Issue
Block a user