1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-03 09:59:25 +00:00

[neovim] Add leap and kitty window navigator plugins

This commit is contained in:
2023-04-05 21:25:04 +02:00
parent 0bd51fe728
commit da8f88c3d1
4 changed files with 48 additions and 22 deletions

View File

@ -15,6 +15,13 @@ vim.g.mapleader = " "
-- term_mode = "t",
-- command_mode = "c",
-- Kitty navigation
vim.g.kitty_navigator_no_mappings = 1
keymap("n", "<A-Left>", ":KittyNavigateLeft<cr>")
keymap("n", "<A-Down>", ":KittyNavigateDown<cr>")
keymap("n", "<A-Up>", ":KittyNavigateUp<cr>")
keymap("n", "<A-Right>", ":KittyNavigateRight<cr>")
-- Better window navigation
keymap("n", "<C-h>", "<C-w>h", opts)
keymap("n", "<C-j>", "<C-w>j", opts)