From 0659e7e57813fc91ead81919e7116534ff2c376c Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 13 Feb 2024 14:23:54 +0900 Subject: [PATCH] Update lsp keymaps --- home-manager/common/software/cli/nixvim.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index 6105b694..896cb11b 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -155,13 +155,16 @@ keymaps = { silent = true; diagnostic = { - "k" = "goto_prev"; - "j" = "goto_next"; + "lk" = "goto_prev"; + "lj" = "goto_next"; }; lspBuf = { - gd = "definition"; K = "hover"; + "lD" = "references"; + "ld" = "definition"; + "li" = "implementation"; + "lt" = "type_definition"; }; }; };