0

I have autocomplpop plugin installed in my .vim directory. If I use gvim then autocompleting simply works automatically in insert mode without the need to press any CTRL-N to get the drop down list.

Is there a way I can emulate that in vim? Where in insert mode I have to press CTRL-N each time to get the drop down menu.

I recollect there was a way of doing that by adding something in .vimrc to emulate that but can't recollect those settings.

Thanks, -ND

2

As said by B Layer, this kind of feature should not vary between terminal and GUI versions.

Make sure the plugin is enabled from your vimrc file, and not from gvimrc. If still not working, check the output of :scriptnames from both instances to see which files are loaded.

  • I have the following in my .vimrc ` *filetype plugin on runtime! plugin/.vim ** ` pressing ctrl-n does activate the drop down menu however I want that to happen by default without having the need to press ctrl-n in the insert mode. – user6841131 Sep 4 '17 at 6:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.