tpope / vim-rsi

rsi.vim: Readline style insertion
http://www.vim.org/scripts/script.php?script_id=4359
589 stars 36 forks source link

i_<CTRL-E> remapping conflicts with insert completion #23

Closed aripollak closed 9 years ago

aripollak commented 10 years ago

i_Ctrl-E is a very useful key to escape out of the insert completion popup and return the text back to the way it was before you started completion. With vim-rsi, this does not work when called from the middle of a line. If you ignore the remapping when pumvisible() is true, I think that will fix the problem.

justinmk commented 9 years ago

@aripollak That's a nice feature (?) that I didn't know about.

It would be nice to fix this, would a PR be welcome?

tpope commented 9 years ago

Yes.

justinmk commented 9 years ago

PR sent: https://github.com/tpope/vim-rsi/pull/24