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

Configurable keymap for the codeAction window #622

Closed
IanLiuTW opened this issue Dec 18, 2024 · 3 comments · Fixed by #644
Closed

Configurable keymap for the codeAction window #622

IanLiuTW opened this issue Dec 18, 2024 · 3 comments · Fixed by #644
Labels
enhancement New feature or request

Comments

@IanLiuTW
Copy link

Feature description

When inside the vim.cmd.RustLsp 'codeAction' window, is it possible to configure custom keymaps? For example, I would like to use <C-y> to select instead of <CR>. Additionally, it would be great to use h and l to navigate in and out of groups.

Thanks for the amazing plugin!

@IanLiuTW IanLiuTW added the enhancement New feature or request label Dec 18, 2024
@mrcjkb
Copy link
Owner

mrcjkb commented Dec 18, 2024

Hey 👋

That's not currently configurable.
I could probably add some <Plug> mappings and fall back to the default keymaps if the <Plug> meetings aren't set.

@mrcjkb
Copy link
Owner

mrcjkb commented Dec 18, 2024

I have a draft in #624, but it needs some more work.

@IanLiuTW
Copy link
Author

Thank you for the quick update! Really appreciate the work.

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