marlonrichert / zsh-autocomplete

🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
MIT License
5.26k stars 145 forks source link

Show menu selection options by number #732

Open ChillarAnand opened 3 months ago

ChillarAnand commented 3 months ago

What do you want?

ss

Instead of showing the completions with command number, show commands with starting with number 1.

Why do you want this?

I have to select a lot from the history. Instead of pressing down arrow 5 or 6 times, I want to use karabiner and automate menu selection.

If I press ctrl+5, it will select 5th item.

Who else would benefit from this?

Related issue: https://github.com/marlonrichert/zsh-autocomplete/issues/293

There was a previous issue related to this. A lot of power users will find it useful.

How should it work?

Show completions like this

1 ls
2 hist
3 zsh
...

Given the following situation:

When I perform the following steps: When a new tab is opened

Then I expect the following to happen: completions should start from number 1.