Skip to main content

Questions tagged [wildmenu]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

wildignore does not ignore files if they exist within a symlink

I have found that wildignore does not ignore files if they exist within a symlink to a folder. As an example in case I dont make sense: mkdir testfolder touch testfolder/testfile # In nvim: set ...
9mqoz's user avatar
  • 1
1 vote
1 answer
97 views

Specify sorting in wildmenu list?

EDIT per accepted answer below, I have the following: function! MySortDirEnts(ent1, ent2) if a:ent1[strchars(a:ent1)-1] == '/' && a:ent2[strchars(a:ent2)-1] != '/' return -1 elseif a:...
Aaron Parisi's user avatar
4 votes
2 answers
3k views

How can I add a border to neovim command completion menu?

I've been configuring my Neovim for quite a while now. This command menu seems a little ugly with the transparent background. I'd be great if I could add a border for this menu. How can I do that ? I'...
Diwas10's user avatar
  • 115
2 votes
0 answers
159 views

How to find out what is causing the commandline autocompletion menu (wildmode/menu) to close? [closed]

If I use the <tab> completion while typing in command mode, the full results listing will display above the commandline for just a moment, but then almost immediately disappear. If I hit tab ...
Spectator6's user avatar
2 votes
2 answers
2k views

How to get vertical wild menu using wildoptions=pum on Vim 9?

I would like to test the new vertical wildmenu of Vim 9. I read that set wildoptions=pum should provide it. But I'm not successful. Is there another setting to set to get it?
Vivian De Smedt's user avatar
10 votes
4 answers
4k 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: ...
Lea Hubert's user avatar
0 votes
1 answer
90 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 (...
ChocolateOverflow's user avatar
3 votes
1 answer
260 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 ...
Stefan's user avatar
  • 189
1 vote
1 answer
4k 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 ...
Dov Alperin's user avatar
12 votes
1 answer
2k 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' ...
Delhirio's user avatar
  • 123
1 vote
0 answers
84 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 ...
fortea's user avatar
  • 111
7 votes
3 answers
410 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 ...
user2453676's user avatar
2 votes
1 answer
710 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 ...
Dr Krishnakumar Gopalakrishnan's user avatar
8 votes
1 answer
4k 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,...
mbigras's user avatar
  • 647
3 votes
2 answers
291 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 ...
phil pirozhkov's user avatar
5 votes
3 answers
2k 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 ...
Fake Jake's user avatar
  • 151
0 votes
1 answer
557 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, ...
SnoringFrog's user avatar
3 votes
1 answer
1k 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 ...
Patrick's user avatar
  • 133
3 votes
2 answers
1k 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