From fc172998be17c5752ff3f7730266937a9b7f7be2 Mon Sep 17 00:00:00 2001 From: prioritize Date: Tue, 7 May 2024 16:56:55 -0700 Subject: [PATCH] updates at work --- init.lua | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 4f4642ab..6a6afb69 100644 --- a/init.lua +++ b/init.lua @@ -193,10 +193,14 @@ vim.keymap.set('t', '', '', { desc = 'Exit terminal mode' } -- Use CTRL+ to switch between windows -- -- See `:help wincmd` for a list of all window commands -vim.keymap.set('n', '', '', { desc = 'Move focus to the left window' }) -vim.keymap.set('n', '', '', { desc = 'Move focus to the right window' }) -vim.keymap.set('n', '', '', { desc = 'Move focus to the lower window' }) -vim.keymap.set('n', '', '', { desc = 'Move focus to the upper window' }) +vim.keymap.set('n', '', ' TmuxNavigateLeft', { desc = 'Move focus to the left window' }) +vim.keymap.set('n', '', ' TmuxNavigateRight', { desc = 'Move focus to the right window' }) +vim.keymap.set('n', '', ' TmuxNavigateDown', { desc = 'Move focus to the lower window' }) +vim.keymap.set('n', '', ' TmuxNavigateUp', { desc = 'Move focus to the upper window' }) +-- vim.keymap.set('n', '', 'C-w>', { desc = 'Move focus to the left window' }) +-- vim.keymap.set('n', '', '', { desc = 'Move focus to the right window' }) +-- vim.keymap.set('n', '', '', { desc = 'Move focus to the lower window' }) +-- vim.keymap.set('n', '', '', { desc = 'Move focus to the upper window' }) -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands` @@ -264,6 +268,10 @@ require('lazy').setup({ end, }, }, + { + 'christoomey/vim-tmux-navigator', + lazy = false, + }, -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following