Skip to content

[Suggestion] default lsp key mappings in neovim v0.11.0 will interfere existing key mappings in lspconfig #1436

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

Closed
leoc-22 opened this issue Apr 1, 2025 · 4 comments

Comments

@leoc-22
Copy link

leoc-22 commented Apr 1, 2025

in neovim v0.11.0 a list of default ksp key mappings is added neovim/neovim#28650. this will interfere with the mappings in this repo, in particular: https://github.com/nvim-lua/kickstart.nvim/blob/master/init.lua#L541.

since im already used to using the telescope's lsp commands, i ended up disabled all the newly introduced lsp mappings:

vim.keymap.del('n', 'grn')
vim.keymap.del('n', 'grr')
vim.keymap.del('n', 'gri')
vim.keymap.del('n', 'gra')

but im wondering if there is a better way of doing this?

@feekApp
Copy link

feekApp commented Apr 1, 2025

Thnx, I already wondering why there was a slowdown in showing some Telescope LSP mappings.

@theopn
Copy link
Contributor

theopn commented Apr 2, 2025

I made a PR (#1427) to change the LSP keybindings to match the new default keybindings in 0.11.

@leoc-22
Copy link
Author

leoc-22 commented Apr 2, 2025

I made a PR (#1427) to change the LSP keybindings to match the new default keybindings in 0.11.

hate to press one more key to do the same thing. i guess using vim.keymap.del is the only way

@feoh
Copy link
Collaborator

feoh commented Apr 9, 2025

Just merged the fix for this.

@feoh feoh closed this as completed Apr 9, 2025
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

4 participants