2022 Developer Survey is open! Take survey.

Questions tagged [wildmenu]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
4 answers
1k views

Vertical WildMenu in Vim

One thing that really bothers me in vim (probably the only thing), is the wildmenu. In neovim, the wildmenu is vertical and looks as following: However, in vim, it is horizontal and looks like this: ...
user avatar
0 votes
1 answer
27 views

How to ignore or push back certain files when when auto-completing in wildmenu?

When opening a file with :e, :vs or :sp, I generally don't want to open binary files or files with certain extensions like .class. Is there a way to ignore files with certain extensions or MIME type (...
user avatar
3 votes
1 answer
138 views

Hidden files and folders are hidden / ignored in wildmenu

As mentioned, when using <TAB> completion, hidden files do not show up. E.g. :e <TAB> only shows non-hidden files. :verbose set wildignore? wildignore= A similar question is here, while ...
user avatar
  • 169
1 vote
1 answer
1k views

:set completeopt=menuone does not always show menu on the commandline

:set completeopt=menuone does not always show the menu. For example pressing :vs<tab> on the command line one would expect the menu to appear, with the singular option vsplit. What happens ...
user avatar
8 votes
1 answer
937 views

Switching arrow key mappings for wildmenu tab completion

When wanting to edit another file, I'm a big fan of typing :e then tab (or a few characters before) to see the wildmenu pop up. Problem is that the way it works, arrows keys up and down go 'down' ...
user avatar
1 vote
0 answers
71 views

Hierarchical auto-populated menu

I'm aware of vim menu and plugins such as vim-venu and quickmenu, but they need to be manually configured. Is there a way to populate vim menus with all commands available organized in a ...
user avatar
  • 111
7 votes
3 answers
347 views

Return from command autocomplete

If I type :e foo/**/foo*.js and hit tab then vim replaces the *s with all possible suggestions in the filepath. What if I realized that I wasn't specific enough (there are too many results in ...
user avatar
2 votes
1 answer
491 views

How to automatically select the first entry of the wildmenu without having to tab?

In vim's command-line, after typing the first few characters, when I press the tab key, the wildmenu appears. However, irritatingly, it requires me one additional press of the tab key to select the ...
user avatar
6 votes
0 answers
3k views

How do I use wildmenu effectively?

I'd like to learn about using vim with multiple files without using external plugins. I read another answer that recommends putting the following in our .vimrc: set wildmenu set wildmode=longest:full,...
user avatar
  • 547
3 votes
2 answers
251 views

Undesired command line completion history

Starting vim (8.0) with an empty .vimrc, or as vim -u /dev/null. Executing: :set nocompatible :set wildmode=list On the screen: :e .config/█ I always thought that what happens when you press Tab ...
user avatar
4 votes
2 answers
951 views

vim sometimes displays full path of file instead of just the filename?

This may seem a little nit-picky, but I like using the wildmenu to switch between buffers: I do :b and then hit tab until I get to the file I want. The problem is that sometimes, vim shows the entire ...
user avatar
  • 141
0 votes
1 answer
427 views

Why can't I tab complete after open?

I have set wildmenu and set wildmode=list,full in my .vimrc. If I go to enter a command such as buf or tabe, follow it with a space, and then hit tab, my wildmenu options take effect as I'd expect, ...
user avatar
3 votes
1 answer
700 views

Disable command bar completion list

when I use to autocomplete in neovim, I get two completion lists. The following screenshot was taken with an empty .nvimrc. To reproduce: Open nvim, enter :e, tab <Tab> to get the (in this ...
user avatar
  • 133
3 votes
2 answers
872 views

Highlight or underline the current selection in the wildmode list

I use the following wildmenu settings: set wildmenu set wildmode=list:full Which results in this after typing :find *foo<tab>: Is there a way to highlight the options in the wildmode list as ...
user avatar