Home Download Buy Blog Forum Support

Sublime Text Tab Switching

Sublime Text Tab Switching

Postby Kyrul on Sat Jul 30, 2011 12:06 am

Can someone explain to me how Ctrl+tab works? I have a hunch it has something to do with either the order the tabs were opened or last accessed, but frankly I find this behavior confusing.

Is there any way to switch it to just left-to-right tab switching?
Kyrul
 
Posts: 3
Joined: Fri Jun 18, 2010 4:43 pm

Re: Sublime Text Tab Switching

Postby jps on Sat Jul 30, 2011 12:27 am

It works in the same way alt+tab does (or command+tab on OS X), by switching between tabs in a most-recently-used stack. When you release ctrl, the currently selected file is moved to the top of the stack.

For other ways to switch files, including switching directly to the left and right one, take a look at the "File/Switch File" menu.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime Text Tab Switching

Postby KES on Tue Aug 14, 2012 7:05 am

File/Switch now are placed Goto/Switch

To me that behaviour also confusing.

You can change behaviour like this: Preferences/Key bindings - User
[
{ "keys": ["ctrl+pagedown"], "command": "next_view_in_stack" },
{ "keys": ["ctrl+pageup"], "command": "prev_view_in_stack" },

{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }
]



PS. http://www.sublimetext.com/blog/article ... build-2165
From description CTRL+P has different commande that is described
KES
 
Posts: 41
Joined: Sun Aug 05, 2012 12:13 pm

Re: Sublime Text Tab Switching

Postby GMB on Tue Aug 14, 2012 9:07 pm

@KES -- Great, thanks for that!
GMB
 
Posts: 19
Joined: Mon Aug 13, 2012 5:05 pm

Re: Sublime Text Tab Switching

Postby mayank.nsit on Thu Sep 26, 2013 7:27 am

For switching left/right in mac you can use

File on left side - [command + alt + left arrow]
File on right side - [command + alt + right arrow]
mayank.nsit
 
Posts: 1
Joined: Thu Sep 26, 2013 7:25 am

Re: Sublime Text Tab Switching

Postby mlepage on Mon Sep 30, 2013 3:56 am

On Mac, command-shift-[ and command-shift-] also seem to work.
mlepage
 
Posts: 27
Joined: Tue Sep 03, 2013 2:30 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 33 guests