1
Fork 0

Wezterm & neovim navigation

This commit is contained in:
prescientmoon 2024-02-29 12:45:25 +01:00
parent b490e41bd1
commit a3a18c76d9
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
3 changed files with 81 additions and 1 deletions
home/features/neovim

View file

@ -736,7 +736,7 @@ let
[ "<tab>d" "<tab>f" "<tab>F" "<tab>h" "<tab>r" ]
];
# {{{ Keymaps
# {{{ Keybinds
opts.mappings = {
add = "<tab>s"; # Add surrounding in Normal and Visul modes
delete = "<tab>d"; # Delete surrounding
@ -1348,6 +1348,20 @@ let
};
};
# }}}
# {{{ navigator
navigator = {
package = "numToStr/Navigator.nvim";
cond = blacklist [ "vscode" "firenvim" "neovide" ];
config = true;
keys = [
(nmap "<c-h>" "<cmd>NavigatorLeft<cr>" "Navigate left")
(nmap "<c-j>" "<cmd>NavigatorDown<cr>" "Navigate down")
(nmap "<c-k>" "<cmd>NavigatorUp<cr>" "Navigate up")
(nmap "<c-l>" "<cmd>NavigatorRight<cr>" "Navigate right")
];
};
# }}}
# }}}
};
# }}}