From a23699790cfb1cd7c7e9810487c874ea580dd1fe Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 7 Mar 2020 18:53:45 -0800 Subject: [PATCH] CMD-T/CTRL-SHIFT-T: DefaultDomain -> CurrentTabDomain This used to be effectively the same thing, but now that the launcher menu allows attaching to other domains, it is best if the hotkey matches the behavior of the + button on the tab bar and uses the domain of the current tab instead. --- src/keyassignment.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keyassignment.rs b/src/keyassignment.rs index a2251ea36..2f586d646 100644 --- a/src/keyassignment.rs +++ b/src/keyassignment.rs @@ -127,12 +127,12 @@ impl KeyMap { [ KeyModifiers::SUPER, KeyCode::Char('t'), - SpawnTab(SpawnTabDomain::DefaultDomain) + SpawnTab(SpawnTabDomain::CurrentTabDomain) ], [ ctrl_shift, KeyCode::Char('T'), - SpawnTab(SpawnTabDomain::DefaultDomain) + SpawnTab(SpawnTabDomain::CurrentTabDomain) ], [ KeyModifiers::SUPER | KeyModifiers::SHIFT,