Fix weird tab cycling in Sublime Text 2

zach by zach (39) in osx, windows, sublimetext2 | 2 mins

By default, CTRL-TAB and SHIFT-CTRL-TAB don't operate in the same way that Google Chrome tab cycling does. For example, when you press CTRL-TAB it doesn't always cycle to the next open document. Here's how to restore normal tabbing functionality.

Tools:

  • 1ea Sublime Text 2

1Access the settings for Key Bindings - User

This can be found under preferences.

Access the settings for Key Bindings - User

2Add the following

When your key bindings/keymap settings file opens up, add the following between the open and close brackets.

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

Add the following

Note:

Be sure to place this in the Key Bindings - User file; if you edit the System file, it will be overwritten when you update Sublime.

3Save and close the file

Since you've edited the Key Bindings - User preferences file, your settings will be saved even when you update Sublime.