From b1e58456cf3750abbb189b8411aed03e33c40b2c Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 12 Apr 2017 11:18:38 +0200 Subject: [PATCH] MacVim: don't use ^L in insert mode References #234. --- autoload/sy/sign.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/sy/sign.vim b/autoload/sy/sign.vim index 2b86178..ee33725 100644 --- a/autoload/sy/sign.vim +++ b/autoload/sy/sign.vim @@ -189,7 +189,7 @@ function! sy#sign#process_diff(sy, diff) abort execute 'sign unplace' a:sy.internal[line].id 'buffer='.a:sy.buffer endfor - if has('gui_macvim') && has('gui_running') + if has('gui_macvim') && has('gui_running') && mode() == 'n' " MacVim needs an extra kick in the butt, when setting signs from the " exit handler. :redraw would trigger a "hanging cursor" issue. call feedkeys("\")