AncientToaster
AncientToaster

Reputation: 205

Disable Sublime Text 2 "Smart-Switching" On Close Tab

When a tab is closed in Sublime Text 2, ST2 switches to the most recently accessed file. Is it possible to disable this behavior, so ST2 will instead switch to the next tab to the left or right? This is how Chrome, for example, behaves. When closing large batches of files, I find remembering what file is going to be selected next very tricky.

To clarify: Try opening five tabs. Select tab 5, then tab 3, then tab 5 again. Close tab 5. You'll be switched to tab 3 (the next-most-recent tab) rather than tab 4 (the nearest tab).

I'm on OS X Mavericks, on the off chance that's relevant, and ST2 2.0.2, Build 2221.

Upvotes: 1

Views: 330

Answers (2)

user1634074
user1634074

Reputation: 681

Sublime 3 does not have the behavior and there is also a plugin for it called TabsExtra that lets you change the behavior of closing tabs.

Upvotes: 1

eosterberg
eosterberg

Reputation: 1452

Like in Chrome, you can use cmd-alt-right/leftarrow, or cmd-number to pick a specific tab.

Upvotes: 0

Related Questions