Esc does not work in INSERT mode after multicursor is on.
Burlter opened this issue · 3 comments
Burlter commented
Just give me an E120 error and do not exit from multicursor mode.
My vimrc and my vim --version output
antoinemadec commented
@Burlter could you please provide us with:
- a minimal vimrc to reproduce the issue (your vimrc is almost 100 lines)
- the exact keys that you press to trigger this issue
As a reminder, per the README:
https://github.com/terryma/vim-multiple-cursors#q--pressing-i-after-selecting-words-with-c-n-makes-the-plugin-hang-why
Thanks,
Antoine
Burlter commented
I press <C-n><C-n><C-n>csometxt<Esc>
. If i do not use vim-autoclose, it works perfectly. minimal vimrc
antoinemadec commented
@Burlter , this is due to all the vim-autoclose
Esc insert mappings.
701e92d introduces g:multi_cursor_support_imap
to medigate that.
Please add this in your vimrc:
let g:multi_cursor_support_imap = 0
Note that you might have to wait a little after pressing Esc, if this bothers you, please consider:
- mapping
g:multi_cursor_quit_key
to something else than Esc - OR droping the mappings of
vim-autoclose
I hope this helps,
Antoine