From 7882a3cbe2b66377a4aa36494ad49682e38adf3a Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Thu, 28 Nov 2024 18:01:38 +0000 Subject: [PATCH] feat(wezterm): add binding to go to the previous tab When developing I often want to quickly swap between vim and a terminal. The vim built in terminal does not really work for be. I prefer to use a proper terminal. Now you can quickly swap by pressing this is the same kind of workflow I have in vim by using the --- site-modules/core/files/wezterm.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/site-modules/core/files/wezterm.lua b/site-modules/core/files/wezterm.lua index 11bdac0..61007cc 100644 --- a/site-modules/core/files/wezterm.lua +++ b/site-modules/core/files/wezterm.lua @@ -128,5 +128,11 @@ return { { key = "7", mods = "LEADER", action = wezterm.action { ActivateTab = 6 } }, { key = "8", mods = "LEADER", action = wezterm.action { ActivateTab = 7 } }, { key = "9", mods = "LEADER", action = wezterm.action { ActivateTab = 8 } }, + + { + key = "b", + mods = "LEADER|CTRL", + action = wezterm.action.ActivateLastTab, + }, }, }