Use vim-tmux-navigator in nvim and tmux

This allows to seamlessly navigate between tmux panes and nvim windows
using the ctrl key.
This commit is contained in:
Johannes Rothe 2025-01-31 22:50:10 +01:00
parent e188726c44
commit 3b57c14e1b
2 changed files with 4 additions and 0 deletions

View File

@ -108,6 +108,9 @@
historyLimit = 150000;
keyMode = "vi";
customPaneNavigationAndResize = true;
plugins = with pkgs.tmuxPlugins; [
vim-tmux-navigator
];
extraConfig = ''
bind-key Space next-window

View File

@ -125,6 +125,7 @@
lualine_z = [ "fancy_lsp_servers" ];
};
render-markdown.enable = true;
tmux-navigator.enable = true;
treesitter.enable = true;
web-devicons.enable = true;
};