6

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?

3
  • 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, 2019 at 12:23
  • So this feature is called wildmenu, I can set it by :set wildmenu. Thank you. Aug 28, 2019 at 12:50
  • 1
    Please feel free to self-answer what solved your problem
    – D. Ben Knoble
    Aug 28, 2019 at 13:11

1 Answer 1

6

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 and acknowledge you have read our privacy policy.

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