From f975e5885e28781c1ad63e7f0fff553f43cf4b88 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 7 Jan 2023 15:12:44 +0100 Subject: [PATCH] wezterm: Add timeout to scrolling mode --- wezterm/.config/wezterm/maps.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wezterm/.config/wezterm/maps.lua b/wezterm/.config/wezterm/maps.lua index 53a274a..78c9e13 100644 --- a/wezterm/.config/wezterm/maps.lua +++ b/wezterm/.config/wezterm/maps.lua @@ -67,14 +67,15 @@ local keys = { action = act.ActivateKeyTable { name = 'scroll_mode', one_shot = false, - replace_current = true + replace_current = true, + timeout_milliseconds = 15000, } }, { key = 'e', mods = 'LEADER', action = act.EmitEvent 'edit-scrollback' }, { key = 'l', mods = 'LEADER', action = act.EmitEvent 'ActivatePaneDirection-Right' }, - { key = 'a', mods = 'CTRL|ALT', action = act.EmitEvent 'toggle-leader'} + { key = 'a', mods = 'CTRL|ALT', action = act.EmitEvent 'toggle-leader' } } -- Leader + number to activate that tab