diff options
Diffstat (limited to '.config/nvim')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/motions.lua | 8 | ||||
| -rw-r--r-- | .config/nvim/plugin/keymaps.lua | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/.config/nvim/lua/custom/plugins/motions.lua b/.config/nvim/lua/custom/plugins/motions.lua index 229225f..d4619c6 100644 --- a/.config/nvim/lua/custom/plugins/motions.lua +++ b/.config/nvim/lua/custom/plugins/motions.lua @@ -2,10 +2,10 @@ return { { 'christoomey/vim-tmux-navigator', config = function() - vim.keymap.set('n', '<C-h>', '<cmd>TmuxNavigatorLeft<CR>') - vim.keymap.set('n', '<C-j>', '<cmd>TmuxNavigatorDown<CR>') - vim.keymap.set('nC', '<C-k>', '<cmd>TmuxNavigatorUp<CR>') - vim.keymap.set('n', '<C-l>', '<cmd>TmuxNavigatorRight<CR>') + vim.keymap.set('n', '<C-h>', '<cmd>TmuxNavigateLeft<cr>') + vim.keymap.set('n', '<C-j>', '<cmd>TmuxNavigateDown<cr>') + vim.keymap.set('n', '<C-k>', '<cmd>TmuxNavigateUp<cr>') + vim.keymap.set('n', '<C-l>', '<cmd>TmuxNavigateRight<cr>') end, }, { diff --git a/.config/nvim/plugin/keymaps.lua b/.config/nvim/plugin/keymaps.lua index f3de068..6a95f9f 100644 --- a/.config/nvim/plugin/keymaps.lua +++ b/.config/nvim/plugin/keymaps.lua @@ -22,11 +22,11 @@ unbind({ 'i', 'n', 'v' }, '<C-r>') set('n', 'U', '<cmd>redo<cr>') set('i', '<C-z>', '<cmd>undo<cr>') --- Window Navigation -set('n', '<C-h>', '<C-w><C-h>', { desc = 'Move focus to the left window' }) -set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the down window' }) -set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the up window' }) -set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right window' }) +-- Window Navigation - NO NEED BECAUSE IT CONFLICTS WITH TMUX +-- set('n', '<C-h>', '<C-w><C-h>', { desc = 'Move focus to the left window' }) +-- set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the down window' }) +-- set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the up window' }) +-- set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right window' }) -- Window resizing local resize = 2 |
