files icon indicating copy to clipboard operation
files copied to clipboard

Move tabs using `Ctrl + Alt + Left` or `Ctrl + Alt + Right`

Open Suzie97 opened this issue 2 years ago • 1 comments

Problem

Terminal already provides this functionality. It would be handy if we could move tabs back and forth between using keyboards shortcuts.

Proposal

Add Ctrl + Alt + Left to move tab to the previous position and Ctrl + Alt + Right to move tab to the next position keybindings.

Prior Art (Optional)

elementary OS default Terminal

https://user-images.githubusercontent.com/68198116/138393651-66212f11-20a1-4b7a-89cb-948c52e758ba.mp4

Suzie97 avatar Oct 22 '21 04:10 Suzie97

The possible problem with this is that the cursor keys are already used, with and without modifiers, to move the position the view cursor (possibly changing the selection). It could be confusing to use them with different modifiers to manipulate the tabs. If we were to aim at the same behaviour as Terminal we would also have to implement shortcuts to switch tab, duplicate tab etc. Note Code does not implement tab manipulation shortcuts with the cursor keys either for similar reasons.

Awaiting opinion of design team.

jeremypw avatar Oct 25 '21 16:10 jeremypw