Skip to content

Conversation

ozars
Copy link

@ozars ozars commented Mar 18, 2019

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.

- Triggering InsertLeave causes whitespaces to be removed when focus is
lost while in insert mode, if user has a whitespace plugin checking on
InsertLeave.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant