Fix weird tab cycling in Sublime Text 2

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:

  • 1 ea Sublime Text 2

1Access the settings for Key Bindings – User

This can be found under preferences.

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" }

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.


Now learn about:


Discuss this guide

var disqus_shortname = ‘howchootest’; (function() { var dsq = document.createElement(‘script’); dsq.type = ‘text/javascript’; dsq.async = true; dsq.src = ‘//’ + disqus_shortname + ‘.disqus.com/embed.js’; (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(dsq); })();

Tools:

  • 1 ea Sublime Text 2

Leave a Reply

Your email address will not be published. Required fields are marked *