nvim: remove "gtd" binding

This commit is contained in:
Primrose 2025-05-02 20:49:36 +02:00
parent 0299c9e14d
commit 8886ac439e
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -85,7 +85,8 @@ local on_attach = function(client, bufno)
map("n", "<C-k>", vim.lsp.buf.signature_help, opts) map("n", "<C-k>", vim.lsp.buf.signature_help, opts)
map("n", "gD", vim.lsp.buf.declaration, opts) map("n", "gD", vim.lsp.buf.declaration, opts)
map("n", "gd", vim.lsp.buf.definition, opts) map("n", "gd", vim.lsp.buf.definition, opts)
map("n", "gtd", vim.lsp.buf.type_definition, opts) -- conflicts with tabs
-- map("n", "gtd", vim.lsp.buf.type_definition, opts)
map("n", "gi", vim.lsp.buf.implementation, opts) map("n", "gi", vim.lsp.buf.implementation, opts)
map("n", "gu", ts.lsp_references, opts) map("n", "gu", ts.lsp_references, opts)
map("n", "<leader>ca", vim.lsp.buf.code_action, opts) map("n", "<leader>ca", vim.lsp.buf.code_action, opts)