Include vim-tmux-navigator to support hotkey switching between nvim and tmux panes
This commit is contained in:
parent
8c71f6e703
commit
74a36ba246
4 changed files with 28 additions and 2 deletions
7
nvim/lua/plugins/nvim-tmux-navigator.lua
Normal file
7
nvim/lua/plugins/nvim-tmux-navigator.lua
Normal 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>'),
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue