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

Asked

Viewed 570 times

6

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

  • 1

    alt + 1, alt + 2, alt + 3...

3 answers

9

On Windows/Linux (PC) how Renan responded:

  • Ctrl + Pgup Go to previous tab
  • Ctrl + Pgdn Go to next tab

In Mac OSX:

  • + + [ Go to left tab
  • + + ] Go to right tab

Other shortcuts

  • On PC Alt + [NUM] Navigate between tabs in the order they are positioned, for example Alt+9 will go to the ninth tab, if it exists

  • On Mac + [NUM] Navigate between tabs in the order they are positioned

In Sublimetext3 these shortcuts are standard, I don’t know if they differ from 2

More shortcuts in:

It is not the official documentation

7


There is the documentation unofficial who informs:

Ctrl+Shift+T: Opens the last closed tab;

Ctrl + Pgup: Move to the tab above;

Ctrl + Pgdn: Move to the tab below;

Ctrl + W: Close the current tab;

Alt + [NUM]: Move to the tab [NUM], being [NUM] less than or equal to the number of open guides;

You can confirm the information above by accessing, in your editor: Preferences / Key Bindings. Search for the 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 to select 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 } },

6

RTFM

TL;DR: CTRL + Page Up and CTRL + Page Down navigate between tabs, forwards and backwards respectively.

  • In mine the PU goes back and the PD goes forward, check?

  • @Math I think it’s a matter of perspective.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.