-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
Change LSP Keybindings to Match the Default gr
Bindings Introduced in Neovim 0.11
#1427
Conversation
Any reason to choose gca over gra for code actions? Semi related, but should it be considered that gd (goto definition) should become grd? |
@arerossehaug 😅 just a typo, I amended it to be I have also added a commit for changing the other keybindings, prefixing
|
I have no feelings about this, but making changes to key bindings always ends up with a million angry WHY DID YOU MOVE MY CHEESE? comments. Thoughts from everyone? |
@feoh I agree that changing keybindings can cause confusion, but I have two arguments for this particular changes:
Thoughts? |
If the kickstart project was started today, they would go with the default nvim keybinds. I’m in support of this change, instead of sticking to non default keybinds for historic reasons. |
Two people voting yay is enough for me :) Thanks all! merging. |
…in Neovim 0.11 (nvim-lua#1427) * refactor: change LSP keybindings to the default gr bindings introduced in 0.11 * refactor: modify existing LSP functions to follow convention
…roduced in Neovim 0.11 (nvim-lua#1427)" This reverts commit 1a5787b. I'm not in the mood to learn new keybindings right now. Will do it in my own time.
…roduced in Neovim 0.11 (nvim-lua#1427)" This reverts commit 1a5787b. I'm not in the mood to learn new keybindings right now. Will do it in my own time.
…in Neovim 0.11 (nvim-lua#1427) * refactor: change LSP keybindings to the default gr bindings introduced in 0.11 * refactor: modify existing LSP functions to follow convention
Sorry to necro this, would a pr to add the few leader key bindings back in comments be accepted? For example:
|
* Change LSP Keybindings to Match the Default gr Bindings Introduced in Neovim 0.11 (nvim-lua#1427) * Remove Telescope 0.1 branch lock (nvim-lua#1448)
…in Neovim 0.11 (nvim-lua#1427) * refactor: change LSP keybindings to the default gr bindings introduced in 0.11 * refactor: modify existing LSP functions to follow convention
…in Neovim 0.11 (nvim-lua#1427) * refactor: change LSP keybindings to the default gr bindings introduced in 0.11 * refactor: modify existing LSP functions to follow convention
…in Neovim 0.11 (nvim-lua#1427) * refactor: change LSP keybindings to the default gr bindings introduced in 0.11 * refactor: modify existing LSP functions to follow convention
Neovim 0.11 introduced many default LSP keybindings prefixed with
gr
, and this PR changes the Telescope keybindings defined inLspAttach
autocmds to match the default ones.I think changing other keybindings (
<leader>D
for type definition and<leader>ws
for workspace symbols) to haveg
prefix should also be considered.