From 8dd5496905c79179b6a156b6fdbac79106155b84 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 22 Feb 2024 14:19:04 +0900 Subject: [PATCH] Change Ctrl-D lsp shortcut to d --- pack/packages/start/loadlsp/autoload/loadlsp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pack/packages/start/loadlsp/autoload/loadlsp.vim b/pack/packages/start/loadlsp/autoload/loadlsp.vim index 43bed52..0a91354 100644 --- a/pack/packages/start/loadlsp/autoload/loadlsp.vim +++ b/pack/packages/start/loadlsp/autoload/loadlsp.vim @@ -139,7 +139,7 @@ vim.api.nvim_set_keymap("n", "", "lua vim.lsp.buf.code_action()", vim.api.nvim_set_keymap("n", "", "lua vim.diagnostic.goto_next()", {noremap = true}) vim.api.nvim_set_keymap("n", "", "lua vim.diagnostic.goto_prev()", {noremap = true}) -- Get diagnostic on currently selected -vim.api.nvim_set_keymap("n", "", "lua vim.diagnostic.open_float()", {noremap = true}) +vim.api.nvim_set_keymap("n", "d", "lua vim.diagnostic.open_float()", {noremap = true}) EOF