From 2e7e1ce219b43bb74f67875200dd4b68758ffd27 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 16 Jul 2024 19:04:27 -0400 Subject: back to nixvim again --- nixvim/plugins/lsp/keymaps.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 nixvim/plugins/lsp/keymaps.nix (limited to 'nixvim/plugins/lsp/keymaps.nix') 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 = { + "e" = "open_float"; + "[d" = "goto_prev"; + "]d" = "goto_next"; + "u" = "setloclist"; + }; + + lspBuf = { + "ca" = "code_action"; + }; + }; +} -- cgit v1.2.3