wezterm: Add timeout to scrolling mode

This commit is contained in:
Marty Oehme 2023-01-07 15:12:44 +01:00
parent e224f7f20a
commit f975e5885e
Signed by: Marty
GPG key ID: 73BA40D5AFAF49C9

View file

@ -67,14 +67,15 @@ local keys = {
action = act.ActivateKeyTable { action = act.ActivateKeyTable {
name = 'scroll_mode', name = 'scroll_mode',
one_shot = false, one_shot = false,
replace_current = true replace_current = true,
timeout_milliseconds = 15000,
} }
}, { key = 'e', mods = 'LEADER', action = act.EmitEvent 'edit-scrollback' }, { }, { key = 'e', mods = 'LEADER', action = act.EmitEvent 'edit-scrollback' }, {
key = 'l', key = 'l',
mods = 'LEADER', mods = 'LEADER',
action = act.EmitEvent 'ActivatePaneDirection-Right' 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 -- Leader + number to activate that tab