How to jump from one tab to the other in Sublime Text?

6

Is there a keyboard shortcut to jump from one tab to another in Sublime Text?

    
asked by anonymous 27.04.2017 / 22:39

3 answers

7

The documentation unofficial that says:

PgUp : Move to the above tab

PgDn : Move to the tab below;

Ctrl + W : Closes the current tab;

Alt + [NUM] : Moves to [NUM] , being [NUM] less than or equal to number of open tabs;

You can confirm the above information by accessing, in your editor: Preferences / Key Bindings . Search for information next_view and prev_view .

In my case, there is the following configuration:

{ "keys": ["ctrl+pagedown"], "command": "next_view" },
{ "keys": ["ctrl+pageup"], "command": "prev_view" },

The shortcut for selecting a specific tab is found by select_by_index .

In my case:

{ "keys": ["alt+1"], "command": "select_by_index", "args": { "index": 0 } },
{ "keys": ["alt+2"], "command": "select_by_index", "args": { "index": 1 } },
{ "keys": ["alt+3"], "command": "select_by_index", "args": { "index": 2 } },
{ "keys": ["alt+4"], "command": "select_by_index", "args": { "index": 3 } },
{ "keys": ["alt+5"], "command": "select_by_index", "args": { "index": 4 } },
{ "keys": ["alt+6"], "command": "select_by_index", "args": { "index": 5 } },
{ "keys": ["alt+7"], "command": "select_by_index", "args": { "index": 6 } },
{ "keys": ["alt+8"], "command": "select_by_index", "args": { "index": 7 } },
{ "keys": ["alt+9"], "command": "select_by_index", "args": { "index": 8 } },
{ "keys": ["alt+0"], "command": "select_by_index", "args": { "index": 9 } },
    
27.04.2017 / 23:11
9

In Windows / Linux (PC) or as Renan replied:

  • Ctrl + PgUp Goes to previous tab
  • Ctrl + PgDn Go to next tab

On Mac OSX:

  • ⌘ + ⇧ + [
  • ⌘ + ⇧ + ] Go to right flap

Other Shortcuts

  • 9 will go to the ninth tab, if it exists

  

In SublimeText3 these shortcuts are defaults, I do not know if anything differs from 2

More shortcuts in:

  

Not the official documentation

27.04.2017 / 23:05
6

RTFM

Page Up and CTRL + Page Down > navigate between tabs, forward and back respectively.

    
27.04.2017 / 22:54