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

Avante bad keymappings #1257

Closed
ctretyak opened this issue Nov 1, 2024 · 2 comments · Fixed by #1288
Closed

Avante bad keymappings #1257

ctretyak opened this issue Nov 1, 2024 · 2 comments · Fixed by #1288
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ctretyak
Copy link

ctretyak commented Nov 1, 2024

Is your feature related to a problem?

I've started to use Avante. It's really great. But I have some troubles with key bindings.

They start on [c] key that already used by vim motions [c]ange. E.g. I cannot use standard vim [cc] binding. I know, that I can use [S] instead of [cc], but it is occupied by another popular vim sneaky plugin.

FYI @aarnphm

Describe the new feature

I'd like to consider to change first letter or add leader key to all AvanteConflict* commands

Additional context

https://github.com/AstroNvim/astrocommunity/tree/main/lua/astrocommunity/completion/avante-nvim

@ctretyak ctretyak added the enhancement New feature or request label Nov 1, 2024
@Uzaaft
Copy link
Member

Uzaaft commented Nov 1, 2024

Feel free to open a PR.

@mehalter
Copy link
Member

I opened a PR that fixes this. It doesn't change the bindings, but it does configure them correctly so that they are only usable bindings when changes are available and you are reviewing them and not while just editing text normally. This resolves the conflict while leaving the very "common sense" like bindings for accepting changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
3 participants