vim-tmux-focus-events icon indicating copy to clipboard operation
vim-tmux-focus-events copied to clipboard

Avoid InsertLeave event for insert mode mapping

Open ozars opened this issue 6 years ago • 0 comments
trafficstars

I am using lessspace.vim plugin to remove white spaces when I switch to normal mode. Currently switching windows/panes while insert mode triggers InserrtLeave due to inoremap command prefix and it causes white spaces to be removed in insert mode. Prepending ctrl-c in insert mode instead of ctrl-\ + ctrl-o fixes this issue.

ozars avatar Mar 18 '19 20:03 ozars