MacVim: Do not remap ^L
`feedkeys` remaps keys by default, so if a mapping exists for `<C-l>`, then `call feedkeys("\<C-l>")` will not result in the desired behavior.
This commit is contained in:
parent
7cc32c28aa
commit
b699eb540c
@ -191,7 +191,7 @@ function! sy#sign#process_diff(sy, vcs, diff) abort
|
|||||||
if has('gui_macvim') && has('gui_running') && mode() == 'n'
|
if has('gui_macvim') && has('gui_running') && mode() == 'n'
|
||||||
" MacVim needs an extra kick in the butt, when setting signs from the
|
" MacVim needs an extra kick in the butt, when setting signs from the
|
||||||
" exit handler. :redraw would trigger a "hanging cursor" issue.
|
" exit handler. :redraw would trigger a "hanging cursor" issue.
|
||||||
call feedkeys("\<c-l>")
|
call feedkeys("\<c-l>", 'n')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call sy#verbose('Signs updated.', a:vcs)
|
call sy#verbose('Signs updated.', a:vcs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user