Questions tagged [wildmenu]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
83 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: ...
0
votes
1answer
16 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 (...
2
votes
0answers
40 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 ...
1
vote
1answer
434 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 ...
4
votes
1answer
437 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' ...
1
vote
0answers
69 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 ...
7
votes
3answers
289 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 ...
2
votes
1answer
376 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 ...
5
votes
0answers
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,...
3
votes
2answers
214 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 ...
4
votes
2answers
799 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 ...
0
votes
1answer
398 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, ...
3
votes
1answer
536 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 ...
3
votes
2answers
758 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 ...