[Sublime Text 2] Customizing tab switching command with Ctrl+Tab

Tadashi Shigeoka ·  Tue, January 15, 2013

I customized the tab switching command with Ctrl+Tab in Sublime Text 2.

By default, the behavior is “switch to the last used document”, so I’ll change this to “move to the right tab” and “move to the left tab” behavior.

Just select “Key bindings - User” from “Preferences” and add the following description.

[
  { "keys": ["ctrl+tab"], "command": "next_view" },
  { "keys": ["ctrl+shift+tab"], "command": "prev_view" },
  { "keys": ["ctrl+pagedown"], "command": "next_view_in_stack" },
  { "keys": ["ctrl+pageup"], "command": "prev_view_in_stack" }
]

Sublime Text2でCtrl+Tabによるタブの切替をタブの順序どおりにする

That’s all from the Gemba.