Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2434 closed enhancement (fixed)

[Terminal] Add shortcuts for Terminal tabs

Reported by: diver Owned by: jackburton
Priority: normal Milestone: R1
Component: Applications/Terminal Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Add shortcuts for Terminal tabs Alt+1, Alt+2 and so on. This is how it's done in gnome-terminal and i find it very usefull.

Change History (7)

comment:1 by bonefish, 16 years ago

Sounds like a good idea. You can already switch between tabs via Shift-Left/Right, but with more than three tabs that starts to become less handy.

comment:2 by emitrax, 16 years ago

While I'm all for shorcuts, I don't like the default combination of Alt+1, Alt+2, etc.. as I personally use that to switch between workspaces. A nice way to switch between tabs would be IMO Alt + scrolling (up=right, down=left). Anyway, as long as it is configurable I am all for it.

comment:3 by anevilyak, 16 years ago

What do you mean, you already use this to switch workspaces? on Haiku switching workspaces maps to alt+f1, alt+f2, etc.

comment:4 by emitrax, 16 years ago

Not in Haiku. In any desktope enviroment I've used with linux, I've always mapped Alt+1.. to switch between workspaces, and alt+f1... to send a window to that workspace. I find this way to work extremely fast. The less I use the mouse, the better. That's why alt+<left|right arrow> would also be a nice combination.

in reply to:  4 comment:5 by bonefish, 16 years ago

Resolution: fixed
Status: newclosed

Replying to emitrax:

Not in Haiku. In any desktope enviroment I've used with linux, I've always mapped Alt+1.. to switch between workspaces, and alt+f1... to send a window to that workspace. I find this way to work extremely fast.

I'm sorry, but if you use non-standard shortcuts for operations that have standardized shortcuts in Haiku, you'll have to live with that your shortcuts are used as defaults for other stuff. Pe uses Command-1...9 for switching windows (though it's pretty unusable there), so I guess it is relatively consistent to use it for tab-switching in the Terminal.

The less I use the mouse, the better. That's why alt+<left|right arrow> would also be a nice combination.

You can use Shift-Left/Right.

Anyway, implemented in hrev26111.

comment:6 by emitrax, 16 years ago

Two things though:

  1. How do I move a window from a workspace to another with shortcuts?
  2. Even though this has been standardized, it leaves little or not choice to the user. I agree with the philosophy of delivering the best default options (shortcuts in this case), but "imposing" something to the user is not what I expect.

Anyway, perhaps better moving this discussion somewhere else.

comment:7 by anevilyak, 16 years ago

Simple: grab the titlebar of the window and hit alt+f# corresponding to the workspace you want to move it to.

Note: See TracTickets for help on using tickets.