From 9e8d8426ba8e1cbb5acdc36980807102a0095202 Mon Sep 17 00:00:00 2001 From: a-rossetti Date: Fri, 17 Jan 2025 16:01:24 +0100 Subject: [PATCH] fixed same commad for terminal mode --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.lua b/init.lua index 0c0699bc..bb3f8c54 100644 --- a/init.lua +++ b/init.lua @@ -193,6 +193,11 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the left wind 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' }) +-- Same keymaps for terminal mode +vim.keymap.set('t', '', [[]], { desc = 'Move out of terminal mode and focus to the left window' }) +vim.keymap.set('t', '', [[]], { desc = 'Move out of terminal mode and focus to the right window' }) +vim.keymap.set('t', '', [[]], { desc = 'Move out of terminal mode and focus to the lower window' }) +vim.keymap.set('t', '', [[]], { desc = 'Move out of terminal mode and focus to the upper window' }) -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands`