diff options
Diffstat (limited to 'nixvim/plugins/lsp/keymaps.nix')
| -rw-r--r-- | nixvim/plugins/lsp/keymaps.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nixvim/plugins/lsp/keymaps.nix b/nixvim/plugins/lsp/keymaps.nix new file mode 100644 index 0000000..ee67ab8 --- /dev/null +++ b/nixvim/plugins/lsp/keymaps.nix @@ -0,0 +1,16 @@ +{ + plugins.lsp.keymaps = { + silent = true; + + diagnostic = { + "<leader>e" = "open_float"; + "[d" = "goto_prev"; + "]d" = "goto_next"; + "<leader>u" = "setloclist"; + }; + + lspBuf = { + "<leader>ca" = "code_action"; + }; + }; +} |
