Include vim-tmux-navigator to support hotkey switching between nvim and tmux panes

This commit is contained in:
Daniel McKnight 2025-05-16 17:52:32 -07:00
parent 8c71f6e703
commit 74a36ba246
4 changed files with 28 additions and 2 deletions

View file

@ -0,0 +1,7 @@
return {
"christoomey/vim-tmux-navigator",
vim.keymap.set('n', '<c-Left>', ':TmuxNavigateLeft<CR>'),
vim.keymap.set('n', '<c-Right>', ':TmuxNavigateRight<CR>'),
vim.keymap.set('n', '<c-Up>', ':TmuxNavigateUp<CR>'),
vim.keymap.set('n', '<c-Down>', ':TmuxNavigateDown<CR>'),
}