[vim/vim] Add an option for a vertical wildmenu (Issue #9679)

235 views
Skip to first unread message

coldspark29

unread,
Feb 1, 2022, 4:16:15 AM2/1/22
to vim/vim, Subscribed

_Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
Imo the horizontal wildmenu is hard to read. You always have to move yours eyes over the whole screen, plus there would be more entries possible in a vertical fashion.

Describe the solution you'd like
Since the drop-down menu is already there, it would probably be best to pass the wildmenu to a drop-down menu.

Additional context
Neovim already has this feature. It is one of the few things I like better about Neovim.


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9679@github.com>

lacygoill

unread,
Feb 1, 2022, 5:11:28 AM2/1/22
to vim/vim, Subscribed

Relevant todo item:

- Use popup (or popup menu) for command line completion

Relevant issue: #5432
The latter includes a link to the CLPUM. patch mentioned in the issue.


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9679/1026673839@github.com>

Bram Moolenaar

unread,
Feb 1, 2022, 6:03:28 AM2/1/22
to vim/vim, Subscribed

The current wildmenu is very old, from the time that updating more than one line would be slow. Using a vertical menu would work better. It's a matter of someone implementing this. There are some things to take care of, especially the positioning, handling a wrapped command line, etc.


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9679/1026720375@github.com>

coldspark29

unread,
Feb 1, 2022, 2:32:21 PM2/1/22
to vim/vim, Subscribed

@lacygoill Nice, so there are already plans. I don't feel like compiling Vim and will wait until this feature is fully functional with the required APIs.Or hasn't anyone continued working on that issue?

@brammool I believe that. It was a great enhancement over vi then, that is for sure. It is amazing how enhanced with has become already and I am looking forward to all the feature to come!


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9679/1027210505@github.com>

bfrg

unread,
Feb 11, 2022, 7:48:00 AM2/11/22
to vim/vim, Subscribed

I think this can be closed now. See :h 'wildoptions' for details on how to set it up.


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9679/1036178297@github.com>

jclsn

unread,
Feb 11, 2022, 9:37:30 AM2/11/22
to vim/vim, Subscribed

@bfrg I just rebuilt and I can see nothing new under wildoptions


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9679/1036275564@github.com>

bfrg

unread,
Feb 11, 2022, 9:40:06 AM2/11/22
to vim/vim, Subscribed

@jclsn Try this :set wildoptions=pum.

See also the description under :h 'wildmenu'.


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9679/1036277913@github.com>

jclsn

unread,
Feb 11, 2022, 9:46:10 AM2/11/22
to vim/vim, Subscribed

Yeah great. It works. I also think the traversing the tree with left and right arrow keys is a bit more intuitive. It differs from the old wildmenu behavior though, which used the down arrow key. Let @brammool decide that I guess.


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9679/1036283687@github.com>

jclsn

unread,
Feb 11, 2022, 9:46:14 AM2/11/22
to vim/vim, Subscribed

Closed #9679.


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/9679/issue_event/6051806064@github.com>

lacygoill

unread,
Feb 11, 2022, 8:06:55 PM2/11/22
to vim/vim, Subscribed

I guess that #5432 can be closed too.


Reply to this email directly, view it on GitHub.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/9679/1036888668@github.com>

Reply all
Reply to author
Forward
0 new messages