Shougo/neocomplcache — Issue #144: How can I hide autocompletion menu when moving in file using arrows in insert mode?
Author: gandzy
Created: 2012-02-09 16:41:27+00:00
State: open

Hi and thanks for nice plugin.

There is an issue that annoys me.
It's very nice that autocompletion menu shows automatically after typing certain number of symbols or after typing dot (for python in my case).
But it's not that cool when autocompletion menu shows when I just move in file using arrows in insert mode, because when I move, for example, down and menu suddenly popups, next 'down' arrow pressing works for menu.

I have found this tip
" For cursor moving in insert mode(Not recommended)
inoremap neocomplcache#close_popup() . "\"
inoremap neocomplcache#close_popup() . "\"
inoremap neocomplcache#close_popup() . "\"
inoremap neocomplcache#close_popup() . "\"

but it actually did not help, because it completely switches off moving in popup menu using arrows.

So I would like to have autocompletion menu after pressing dot or some symbols, and never see it when I use arrow keys in insert mode.
Could you please help me with this?