How to configure Sublime Text 2/3 to use direct Ctrl+Tab order and to create new tabs after the last one?

Ivan picture Ivan · Aug 29, 2014 · Viewed 16.7k times · Source

When I press Ctrl+Tab, Ctrl+Shift+Tab or Ctrl+W the tab I get switched to is not the one just near the one I was on (as I would like to) but to some else. When I press Ctl+N the new tab is created right near the tab I am at while I always want it to be created at the end of the tabs list. How to configure it to achieve the behaviour I desire?

Answer

Miguelgraz picture Miguelgraz · Aug 29, 2014

To achieve the Ctrl+Tab and Ctrl+Shift+Tab behavior you can add the following lines to your sublime-keymap:

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

To open sublime-keymap:

  1. click "Preferences"
  2. click "Key Bindings"
  3. You will see two settings file, select a file that named "User"