diff --git a/init.lua b/init.lua index df578c6..fce3626 100644 --- a/init.lua +++ b/init.lua @@ -613,10 +613,11 @@ do vim.keymap.set("n", "Q", "") -- Window movement - vim.keymap.set("n", "", "h") - vim.keymap.set("n", "", "j") - vim.keymap.set("n", "", "k") - vim.keymap.set("n", "", "l") + vim.g.tmux_navigator_no_mappings = 1 + vim.keymap.set("n", "", ":TmuxNavigateLeft", { noremap = true, silent=true }) + vim.keymap.set("n", "", ":TmuxNavigateDown", { noremap = true, silent=true }) + vim.keymap.set("n", "", ":TmuxNavigateUp", { noremap = true, silent=true }) + vim.keymap.set("n", "", ":TmuxNavigateRight", { noremap = true, silent=true }) -- Resize windows vim.keymap.set('n', '', ':resize -2', { silent = true })