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

[Question] Look-around branch autocompletion #2294

Open
ancientjpeg opened this issue Apr 22, 2024 · 0 comments
Open

[Question] Look-around branch autocompletion #2294

ancientjpeg opened this issue Apr 22, 2024 · 0 comments

Comments

@ancientjpeg
Copy link

Before using Fugitive, I was accustomed to zsh git completion's with an additional matcher statement that allows for branch names to be matched from the middle. This has become incredibly helpful, as my team at work uses Linear's auto-generated branch names, which can be very long and tend to start with a lot of redundant test.

For example, Linear might generate a branch name such as user/eng-4321-branch-name-with-memorable-keyword. In that case, I can do the following in zsh:

git switch memorable <TAB> # autocompletes to full branch name

I'm just wondering if the same matching behavior can be replicated in Fugitive?

Apologies if this has already been addressed—the closest issue I found was #222, but it didn't seem to describe the same thing. I also wasn't able to discern whether or not this was possible from the docs.

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

No branches or pull requests

1 participant