Is there a keyboard shortcut to jump from one tab to another in Sublime Text?
Is there a keyboard shortcut to jump from one tab to another in Sublime Text?
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 } },
In Windows / Linux (PC) or as Renan replied:
On Mac OSX:
In SublimeText3 these shortcuts are defaults, I do not know if anything differs from 2
Not the official documentation