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 401
  • Win 240
  • Mac 99
  • Linux 62
Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13
Windows 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 1 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 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

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.