From d96b05c06c0229954645b113177cecee3a017bea Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 19 Nov 2022 08:14:00 -0700 Subject: [PATCH] docs: fix MoveTabRelative default key assignments closes: https://github.com/wez/wezterm/issues/2705 --- docs/changelog.md | 4 ++++ wezterm-gui/src/commands.rs | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index a0c9d7648..f5c6aae4a 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -112,6 +112,10 @@ As features stabilize some brief notes about them will accumulate here. * Unable to set cursor on Wayland/X11 [#2687](https://github.com/wez/wezterm/issues/2687) [#2743](https://github.com/wez/wezterm/issues/2743) +* Default `MoveTabRelative` assignments were incorrectly set to + `SUPER+SHIFT+Page(Up|Down)` instead of the documented + `CTRL+SHIFT+Page(Up|Down)` + [#2705](https://github.com/wez/wezterm/issues/2705) #### Changed diff --git a/wezterm-gui/src/commands.rs b/wezterm-gui/src/commands.rs index b42e2c4ac..758e42ad6 100644 --- a/wezterm-gui/src/commands.rs +++ b/wezterm-gui/src/commands.rs @@ -500,7 +500,7 @@ static DEFS: &[CommandDef] = &[ exp: |exp| { exp.push(MoveTabRelative(-1)); }, - keys: &[(Modifiers::SUPER.union(Modifiers::SHIFT), "PageUp")], + keys: &[(Modifiers::CTRL.union(Modifiers::SHIFT), "PageUp")], args: &[ArgType::ActiveTab], }, CommandDef { @@ -510,7 +510,7 @@ static DEFS: &[CommandDef] = &[ exp: |exp| { exp.push(MoveTabRelative(1)); }, - keys: &[(Modifiers::SUPER.union(Modifiers::SHIFT), "PageDown")], + keys: &[(Modifiers::CTRL.union(Modifiers::SHIFT), "PageDown")], args: &[ArgType::ActiveTab], }, CommandDef {