diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index 4c36e64b..c5cdbece 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -172,12 +172,30 @@ }; lspBuf = { - K = "hover"; - "lD" = "references"; - "ld" = "definition"; - "li" = "implementation"; - "lt" = "type_definition"; - "ca" = "code_action"; + K = { + action = "hover"; + description "Hover"; + }; + "lr" = { + action = "references"; + desc = "LSP [r]eferences"; + }; + "ld" = { + action = "definition"; + desc = "LSP [d]efinitions"; + }; + "li" = { + action = "implementation"; + desc = "LSP [i]implementations"; + }; + "lt" = { + action = "type_definition"; + desc = "LSP [t]ype definitions"; + }; + "la" = { + action = "code_action"; + desc = "LSP Code [A]ctions"; + }; }; }; };