aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/soispha
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-25 22:31:24 +0200
committerSoispha <soispha@vhack.eu>2023-08-25 22:32:03 +0200
commitbc0ea9c247c09bd1d5d115c6f81967811c4e05ea (patch)
tree22a5df1487abe12b8da83f1935d6604e1522e298 /home-manager/soispha
parentFeat(hm/conf/lf): Add command to go to flake base dir (diff)
downloadnixos-config-bc0ea9c247c09bd1d5d115c6f81967811c4e05ea.zip
Fix(hm/conf/neovim/plugins/harpoon/mappings): Simplify mappings
Diffstat (limited to 'home-manager/soispha')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/harpoon/default.nix8
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/lsp/keymaps/default.nix2
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" = {
+ "<leader><leader>" = {
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" = {
+ "<leader>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";
};
- "<space>q" = {
+ "<space>gq" = {
action = "setloclist";
desc = "add buffer diagnostic to the location list (quick-fix)";
};