Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command completion with tab key #1173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MaxGyver83
Copy link
Contributor

@MaxGyver83 MaxGyver83 commented Mar 18, 2024

In the command prompt, press <tab> to get a list of all available commands and pick one (using vis-menu). This works also after typing the first letters of a command (p.e. :la<tab>).

vis-command-completion

Implements #1167 (and #100 more or less).

I'm aware that @martanne wants to avoid this feature. But I want to share it anyway for those who want to apply this patch to their local vis build.

@MaxGyver83 MaxGyver83 changed the title Command completion with tab Command completion with tab key Mar 19, 2024
@mcepl
Copy link
Contributor

mcepl commented Mar 28, 2024

See also https://lists.sr.ht/~martanne/devel/%[email protected]%3E for a discussion how to remove a warning caused by this patch.

@mcepl
Copy link
Contributor

mcepl commented Feb 20, 2025

I have a deep suspicion that 4970df0 breaks this patch.

@fischerling
Copy link
Contributor

I have a deep suspicion that 4970df0 breaks this patch.

It does indeed. But it is easily resolveable (a742dc3).

@MaxGyver83
Copy link
Contributor Author

It does indeed. But it is easily resolveable (a742dc3).

Cool, thank you!

@fischerling
Copy link
Contributor

It does indeed. But it is easily resolveable (a742dc3).

Cool, thank you!

You are welcome. Please double check it. But I use it on my main branch for some time now.

In the command prompt, press <tab> to get a list of all available
commands and pick one (using vis-menu). This works also after typing the
first letters of a command (p.e. `:la<tab>`).

Co-authored-by: Matěj Cepl <[email protected]>
@MaxGyver83
Copy link
Contributor Author

You are welcome. Please double check it. But I use it on my main branch for some time now.

I have rebased and force-pushed it. It seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants