diff --git a/lua/other_modules/mappings/switch_tabs.lua b/lua/other_modules/mappings/switch_tabs.lua index cbe596d..2cc2bc9 100644 --- a/lua/other_modules/mappings/switch_tabs.lua +++ b/lua/other_modules/mappings/switch_tabs.lua @@ -5,4 +5,10 @@ for n_tab = 1, 10, 1 do string.format('%dgt', n_tab), { desc = 'Switch tabs by using Alt+{number}' } ) + vim.keymap.set( + 't', + string.format('', n_tab), + string.format('%dgt', n_tab), + { desc = 'Switch tabs by using Alt+{number} in terminal' } + ) end