ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Better​Tab​Cycling

by ahuff44 ALL

Tweaks the behavior of tab-switching when there are multiple panes

Details

Installs

  • Total 588
  • Win 343
  • Mac 139
  • Linux 106
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

BetterTabCycling

In Sublime Text 3, when you have multiple panes open within a single window, holding down ctrl+pageup will cycle through all open tabs in all panes.

That's lame. It should only cycle through the tabs open in the currently active pane.

Installation

  • Install Package Control
  • Open the Command Palette (ctrl+shift+p, or find it in the “Tools” menu) and select “Package Control: Install Package”
  • Select “BetterTabCycling” from the installation panel

Usage

ctrl+pageup and ctrl+pagedown have been remapped to cycle through the tabs within the active pane.

Acknowledgements

This code was basically copied wholesale from Boris Treskunov's Pane Navigation plugin; all credit goes to him, the original author.

His plugin was only set to work in Sublime Text 2 and it seems to be abandoned, so I created this plugin to bring it to Sublime Text 3.

Boris, if you're reading this and you'd like me to take this down or transfer control to you, let me know.