2

When I use MS Windows version gvim, when typing EX-command, I can press TAB then there will show a completion candidates menu.
For example, if I type :colorscheme then a space then press TAB, gvim prompts menu like below: enter image description here

But when I use Linux version gvim, it just automatically type in one of candidates, no menu shows.
How to set up my vim configuration to use this completion menu?

  • Welcome to Vi and Vim! I’ll be surprised if we dont have a few questions on this topic already, but a good starting place would be to read :help wilmenu. Great question! – D. Ben Knoble Aug 28 at 12:23
  • So this feature is called wildmenu, I can set it by :set wildmenu. Thank you. – Shan-Hung Hsu Aug 28 at 12:50
  • 1
    Please feel free to self-answer what solved your problem – D. Ben Knoble Aug 28 at 13:11
2

Thanks for the answer from @D. Ben Knoble

This feature is called wildmenu, putting this line set wildmenu in the .vimrc or .gvimrc (_vimrc or _gvimrc on MS Windows version) can turn this feature on.

Typing :help wildmenu in vim to check further detail of wildmenu.

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.