From bc0ea9c247c09bd1d5d115c6f81967811c4e05ea Mon Sep 17 00:00:00 2001 From: Soispha Date: Fri, 25 Aug 2023 22:31:24 +0200 Subject: Fix(hm/conf/neovim/plugins/harpoon/mappings): Simplify mappings --- .../soispha/config/neovim/nixvim/plugins/harpoon/default.nix | 8 ++++---- .../soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/harpoon/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/harpoon/default.nix index 1f409530..cf0e6d82 100644 --- a/home-manager/soispha/config/neovim/nixvim/plugins/harpoon/default.nix +++ b/home-manager/soispha/config/neovim/nixvim/plugins/harpoon/default.nix @@ -43,7 +43,7 @@ in { }; maps.normalVisualOp = { - "gfn" = { + "-" = { action = '' function() require("harpoon.ui").nav_next() @@ -52,7 +52,7 @@ in { lua = true; desc = "go to the next marked file"; }; - "gfp" = { + "_" = { action = '' function() require("harpoon.ui").nav_prev() @@ -61,7 +61,7 @@ in { lua = true; desc = "go to the previous marked file"; }; - "gad" = { + "" = { action = '' function() require("harpoon.mark").add_file() @@ -79,7 +79,7 @@ in { lua = true; desc = "toggle the harpoon command quick menu to see all commands."; }; - "gqn" = { + "q" = { action = '' function() require("harpoon.ui").toggle_quick_menu() diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix index 66d4eb93..4017521d 100644 --- a/home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix +++ b/home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix @@ -14,7 +14,7 @@ action = "open_float"; desc = "open float for the symbol"; }; - "q" = { + "gq" = { action = "setloclist"; desc = "add buffer diagnostic to the location list (quick-fix)"; }; -- cgit 1.4.1