summaryrefslogtreecommitdiffstats
path: root/after/plugin/lsp.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-06-26 11:28:27 -0400
committerSquibid <me@zacharyscheiman.com>2023-06-26 11:28:27 -0400
commitb19167a1ab1e6d3c21d67788d404c159aeaaf306 (patch)
tree55a68f9f3693ca0db70b32fd808dafb0060f3e1f /after/plugin/lsp.lua
parenta3c9d258ec3a7cd74a615b49234950f7eff2c158 (diff)
downloadnvim-b19167a1ab1e6d3c21d67788d404c159aeaaf306.tar.gz
nvim-b19167a1ab1e6d3c21d67788d404c159aeaaf306.tar.bz2
nvim-b19167a1ab1e6d3c21d67788d404c159aeaaf306.zip
replace gd and the likes with glance
Diffstat (limited to 'after/plugin/lsp.lua')
-rw-r--r--after/plugin/lsp.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua
index 8ec7f13..4e5d3fa 100644
--- a/after/plugin/lsp.lua
+++ b/after/plugin/lsp.lua
@@ -11,11 +11,11 @@ local function lsp_keymaps(bufnr)
-- LSP actions
map('n', 'K', '<cmd>lua vim.lsp.buf.hover()<cr>')
- map('n', 'gd', '<cmd>lua vim.lsp.buf.definition()<cr>')
- map('n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<cr>')
- map('n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<cr>')
- map('n', 'go', '<cmd>lua vim.lsp.buf.type_definition()<cr>')
- map('n', 'gr', '<cmd>lua vim.lsp.buf.references()<cr>')
+ map('n', 'gD', '<cmd>lua vim.lsp.buf.definition()<cr>')
+ -- map('n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<cr>')
+ map('n', 'gI', '<cmd>lua vim.lsp.buf.implementation()<cr>')
+ map('n', 'gY', '<cmd>lua vim.lsp.buf.type_definition()<cr>')
+ map('n', 'gR', '<cmd>lua vim.lsp.buf.references()<cr>')
map('n', '<S-Tab>', '<cmd>lua vim.lsp.buf.signature_help()<cr>')
map('n', '<F2>', '<cmd>lua vim.lsp.buf.rename()<cr>')
map('n', '<F4>', '<cmd>lua vim.lsp.buf.code_action()<cr>')