mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-01 20:59:26 +00:00
[neovim] Add leap and kitty window navigator plugins
This commit is contained in:
@ -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)
|
||||
|
@ -48,7 +48,7 @@ lazy.setup({
|
||||
{
|
||||
"projekt0n/github-nvim-theme",
|
||||
lazy = false,
|
||||
priorrity = 1000,
|
||||
priority = 1000,
|
||||
version = "v0.0.x",
|
||||
config = function()
|
||||
require("github-theme").setup({
|
||||
@ -86,6 +86,14 @@ lazy.setup({
|
||||
{ "taybart/b64.nvim", event = "VeryLazy" },
|
||||
{ "echasnovski/mini.align", event = "VeryLazy", version = "*" },
|
||||
{ "tenxsoydev/karen-yank.nvim", event = "VeryLazy", config = true },
|
||||
{
|
||||
"ggandor/leap.nvim",
|
||||
version = "*",
|
||||
config = function()
|
||||
require("leap").add_default_mappings()
|
||||
end,
|
||||
},
|
||||
{ "knubie/vim-kitty-navigator", version = "*", build = "cp ./*.py ~/.config/kitty/" },
|
||||
|
||||
-- cmp plugins
|
||||
{
|
||||
|
Reference in New Issue
Block a user