A gedit plugin to switch between document tabs using Ctrl+Tab / Ctrl+Shift+Tab (most recently used order or tab row order) and Ctrl+PageUp / Ctrl+PageDown (tab row order)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Control Your Tabs, a plugin for gedit

Switch between document tabs using Ctrl+Tab / Ctrl+Shift+Tab and Ctrl+PageUp / Ctrl+PageDown
https://github.com/jefferyto/gedit-control-your-tabs
v0.3.2

All bug reports, feature requests and miscellaneous comments are welcome at the project issue tracker.

Requirements

v0.2.0 and higher requires gedit 3. The last version compatible with gedit 2 is v0.1.2.

Installation

  1. Download the source code (as zip or tar.gz) and extract.
  2. Copy the controlyourtabs folder and the appropriate .plugin file into ~/.local/share/gedit/plugins (create if it does not exist):
    • For gedit 3.6 and earlier, copy controlyourtabs.plugin.python2 and rename to controlyourtabs.plugin.
    • For gedit 3.8 and later, copy controlyourtabs.plugin.
  3. Restart gedit, then enable the plugin in the Plugins tab in gedit's Preferences window.

Usage

  • Ctrl+Tab / Ctrl+Shift+Tab - Switch tabs in most recently used order.
  • Ctrl+Page Up / Ctrl+Page Down - Switch tabs in tab row order.

Hold down Ctrl to continue tab switching. Press Esc while switching to cancel and return to the initial tab.

Preferences

In gedit 3.4 or later, the plugin supports these preferences:

  • Use tab row order for Ctrl+Tab / Ctrl+Shift+Tab - Change Ctrl+Tab / Ctrl+Shift+Tab to switch tabs in tab row order instead of most recently used order.

Development

The code in controlyourtabs/utils comes from python-gtk-utils; changes should ideally be contributed to that project, then pulled back into this one with git subtree pull.

Credits

Inspired by:

License

Copyright © 2010-2013, 2017-2018 Jeffery To jeffery.to@gmail.com

Available under GNU General Public License version 3