Re-add nvim-tmux-navigation

Easier navigation between Neovim and tmux panes.
This commit is contained in:
Oliver Davies 2024-10-26 16:07:04 +01:00
parent cffba6b6b6
commit 576e8c37a2
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,12 @@
require("nvim-tmux-navigation").setup {
disable_when_zoomed = true,
keybindings = {
left = "<C-h>",
down = "<C-j>",
up = "<C-k>",
right = "<C-l>",
last_active = "<C-\\>",
next = "<C-Space>",
},
}

View file

@ -31,6 +31,16 @@ let
};
};
nvim-tmux-navigation = buildVimPlugin {
name = "nvim-tmux-navigation";
src = fetchFromGitHub {
owner = "alexghergh";
repo = "nvim-tmux-navigation";
rev = "4898c98702954439233fdaf764c39636681e2861";
sha256 = "sha256-CxAgQSbOrg/SsQXupwCv8cyZXIB7tkWO+Y6FDtoR8xk=";
};
};
standard-vim = buildVimPlugin {
name = "standard-vim";
src = fetchFromGitHub {
@ -160,6 +170,7 @@ in
customVim.conf-vim
customVim.edit-alternate-vim
customVim.nvim-tmux-navigation
customVim.standard-vim
customVim.tabline-vim
customVim.vim-autoread