init.lua/after/plugin/tmux.lua

5 lines
330 B
Lua
Raw Normal View History

vim.keymap.set("n", "C-h>", "<cmd>TmuxNavigateLeft<cr>", { desc = "Window Left" })
vim.keymap.set("n", "C-j>", "<cmd>TmuxNavigateDown<cr>", { desc = "Window Down" })
vim.keymap.set("n", "C-k>", "<cmd>TmuxNavigateUp<cr>", { desc = "Window Up" })
vim.keymap.set("n", "C-l>", "<cmd>TmuxNavigateRight<cr>", { desc = "Window Right" })