genome-terminal alt-<number> equivalent?

Asked by louis01010100

Hi,

under gnome terminal, I am used to jumping to a specific tab directly with alt-<number>.
But this key binding doesn't work under terminator
terminator supports ctrl-PgUp/PgDn to go through tabs sequentially, but this is less efficient.
Is there any alt-<number> equivalent function in terminator?

Question information

Language:
English Edit question
Status:
Answered
For:
Terminator Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris Jones (cmsj) said :
#1

If you run "man terminator_config" you'll be able to see all the keybindings you can customise by creating ~/.config/terminator/config

among them should be some options that are disabled by default to do alt-n to jump to specific tab numbers

Revision history for this message
louis01010100 (louis-ibms) said :
#2

Hi Chris,

I checked the 'keybinding' section of man page can found some tab relevant hotkey. But I couldn't find the one close to do the alt-n thing still . Would you please point it out for me? Thanks very much.

Revision history for this message
Chris Jones (cmsj) said :
#3

You may need to check that you're running a new enough release, but this is the relevant section of the manpage:

       switch_to_tab_1 - switch_to_tab_10
              Keys to switch directly to the numbered tab. Note that <Alt><Shift>1 may need to be provided as <Alt>! or similar, depending
              on your keyboard layout. Default value: Unbound

Revision history for this message
louis01010100 (louis-ibms) said :
#4

Hi Chris,

I upgraded my Terminator to version 0.13 and alt-number is activated by default, which is great. However, I can't still find the section you mentioned in `man terminator_config`; On top of that, I am using Ubuntu Jaunty and apt-get to install terminator, and it's a bit tricky to find the terminator PPA. I can't find it on http://www.tenshu.net/terminator/ nor on the launchpad terminator project home page https://launchpad.net/terminator. It's google that guided me to https://launchpad.net/~gnome-terminator, where the PPA is located. It would be more convenient if the PPA instruction is added in the installation section of http://www.tenshu.net/terminator/. Terminator is a great tool for terminal warriors, and I am looking forward to the release of v1.0

Revision history for this message
louis01010100 (louis-ibms) said :
#5

Sorry that I erroneously tested alt-number in gnome-terminal instead of terminator v0.13. And alt-number doesn't work on v0.13. and I can't find the section you mentioned in man terminator/terminator_config. If this does work, can you tell me how to configure my ~/.config/terminator/config to achieve this goal? switch_to_tab_1-switch_to_tab_10=<Alt><number> or something?

Revision history for this message
Chris Jones (cmsj) said :
#6

switch_to_tab_1=<Alt>1
switch_to_tab_2=<Alt>2
etc.

Revision history for this message
confiq (confiq) said :
#7

I know this is almost 6 years old but because google brought me here it might help others

```[global_config]
  enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
[keybindings]
switch_to_tab_1=<Alt>1
switch_to_tab_2=<Alt>2
switch_to_tab_3=<Alt>3
switch_to_tab_4=<Alt>4
switch_to_tab_5=<Alt>5
switch_to_tab_6=<Alt>6
switch_to_tab_7=<Alt>7
[profiles]
```

Can you help with this problem?

Provide an answer of your own, or ask louis01010100 for more information if necessary.

To post a message you must log in.