1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-01 00:35:46 +03:00

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.
This commit is contained in:
Wez Furlong 2020-03-07 18:53:45 -08:00
parent 70e18c74aa
commit a23699790c

View File

@ -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,