Always set register in map-based ODL
This commit is contained in:
parent
44893a1901
commit
cb5bed0e35
1 changed files with 1 additions and 1 deletions
2
plug.vim
2
plug.vim
|
@ -496,8 +496,8 @@ function! s:lod_map(map, names, prefix)
|
||||||
if v:count
|
if v:count
|
||||||
call feedkeys(v:count, 'n')
|
call feedkeys(v:count, 'n')
|
||||||
endif
|
endif
|
||||||
|
call feedkeys('"'.v:register, 'n')
|
||||||
if mode(1) == 'no'
|
if mode(1) == 'no'
|
||||||
call feedkeys('"'.v:register, 'n')
|
|
||||||
call feedkeys(v:operator)
|
call feedkeys(v:operator)
|
||||||
endif
|
endif
|
||||||
call feedkeys(a:prefix . substitute(a:map, '^<Plug>', "\<Plug>", '') . extra)
|
call feedkeys(a:prefix . substitute(a:map, '^<Plug>', "\<Plug>", '') . extra)
|
||||||
|
|
Loading…
Reference in a new issue