Re-add nvim-tmux-navigation
Easier navigation between Neovim and tmux panes.
This commit is contained in:
parent
cffba6b6b6
commit
576e8c37a2
12
config/neovim/plugin/nvim-tmux-navigation.lua
Normal file
12
config/neovim/plugin/nvim-tmux-navigation.lua
Normal 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>",
|
||||||
|
},
|
||||||
|
}
|
|
@ -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 {
|
standard-vim = buildVimPlugin {
|
||||||
name = "standard-vim";
|
name = "standard-vim";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -160,6 +170,7 @@ in
|
||||||
|
|
||||||
customVim.conf-vim
|
customVim.conf-vim
|
||||||
customVim.edit-alternate-vim
|
customVim.edit-alternate-vim
|
||||||
|
customVim.nvim-tmux-navigation
|
||||||
customVim.standard-vim
|
customVim.standard-vim
|
||||||
customVim.tabline-vim
|
customVim.tabline-vim
|
||||||
customVim.vim-autoread
|
customVim.vim-autoread
|
||||||
|
|
Loading…
Reference in a new issue