Switching tabs with keyboard


Sublime Text switches tabs with control+tab and control+shift+tab as do all Mac OS native apps.

Are there key bindings that I can add to my keymap to do this?

I would be happy to make a package and push it to github for others.


You can get this behavior by adding the following to your keymap:

  'ctrl-tab': 'pane:show-next-item'
  'ctrl-shift-tab': 'pane:show-previous-item'


Just a heads up, most native OS X apps actually use ⇧⌘[ and ⇧⌘] for switching to the next and previous tabs respectively. Atom supports that standard keybinding out of the box.


Thanks. Just what I was looking for.


In Sublime Text ctrl+tab switches between the most recently used tabs. “show-next-item” is not the same.


I have never used ⌘{ or ⌘} to switch between tabs. I figured since it was based on webkit it would work like chrome and ⌘tab would work. Said it doesn’t. at least ⌘1-9 work


I made a plugin to scatch that itch: https://atom.io/packages/tab-history
It’s my first plugin, probably a bit buggy.


We really only need one of these topics. Closing this one in favor of the longer one:

closed #9