Skip to content

Commit

Permalink
Remove ctrl + shift + left / right for tab switching (#716)
Browse files Browse the repository at this point in the history
This prevents this particular shortcut for interfering with the
selection of text in some advanced TUI text editors like micro.

We already have the following shortcuts for changing tabs:

ctrl + tab, ctrl + shift + tab;
ctrl + pgup, ctrl + pgdown;
ctrl + shift + pgup, ctrl + shift + pgdn;

These are all consistent with both Files and Web. Terminal should follow
this standard as well.

Co-authored-by: Stan Janssen <stan@finetuned.nl>
  • Loading branch information
stan-janssen and stan-janssen committed Mar 28, 2023
1 parent 1424d0c commit cba3358
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,8 @@ namespace Terminal {
action_accelerators[ACTION_RELOAD_TAB] = ACTION_RELOAD_PREFERRED_ACCEL;
action_accelerators[ACTION_RELOAD_TAB] = "<Shift>F5";
action_accelerators[ACTION_NEW_WINDOW] = "<Control><Shift>n";
action_accelerators[ACTION_NEXT_TAB] = "<Control><Shift>Right";
action_accelerators[ACTION_NEXT_TAB] = "<Control>Tab";
action_accelerators[ACTION_NEXT_TAB] = "<Control>Page_Down";
action_accelerators[ACTION_PREVIOUS_TAB] = "<Control><Shift>Left";
action_accelerators[ACTION_PREVIOUS_TAB] = "<Control><Shift>Tab";
action_accelerators[ACTION_PREVIOUS_TAB] = "<Control>Page_Up";
action_accelerators[ACTION_MOVE_TAB_RIGHT] = "<Control><Alt>Right";
Expand Down

0 comments on commit cba3358

Please sign in to comment.