views:

1019

answers:

3

I know I can cycle through my tabs using cmd+{ or cmd+}, but is it possible to select a specific tab (i.e. cmd+3 for the third tab in iTerm) in Leopards' Terminal.app?

A: 

Yes it is, you use Command-1, Command-2 etc. Have a look under the Window menu, and you'll see the windows listed with their shortcut equivalent. (The 'clover-leaf' is the symbol for the Command key - also known as the Apple key.)

My apologies - missed the fact you were referring to Tabs first time around. I don't believe there is any other keyboard shortcut to switch between Tabs beyond Cmd-{ and }. Perhaps if that's important, don't group them in the first place? Leave them as separate windows?

RET
That is for windows, not tabs.
Milhous
+2  A: 

This is an option. Tab Switching in Terminal

Ryan E
A: 

I would highly suggest using GNU Screen if you really need tabs that much. I have a particular .screenrc file that makes life easier, just put the following in your home directory in a file called .screenrc:

defscrollback 1024
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "

Also, when starting screen, I run screen -c ~/.screenrc.programming which looks like this:

source $HOME/.screenrc

screen -t World
screen -t Server
screen -t Console
screen -t Command
screen -t Editor
screen -t MySQL

This will open a bunch of 'tabs' that you can switch between using Ctrl-A,n and Ctrl-A,p or Ctrl-A followed by a number to switch directly to one.

Topher Fangio