Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VIM Auto Complete Navigation

Tags:

vim

vi

I've disabled the arrow keys on my .vimrc, but...

How do I navigate up and down in autocomplete pop-ups? j and k doesn't work as I am in the Insert mode.

like image 264
Alex Takitani Avatar asked Oct 01 '10 19:10

Alex Takitani


2 Answers

You can use ctrl+n and ctrl+p (which are conveniently close to everything else). Incidentally, these also work in bash and other useful places, so are good to get used to.

like image 74
Peter Avatar answered Oct 12 '22 00:10

Peter


You may also like other popupmenu commands: http://vimdoc.sourceforge.net/htmldoc/insert.html#popupmenu-keys

like image 23
Sławosz Avatar answered Oct 11 '22 22:10

Sławosz