gedit-control-your-tabs
gedit-control-your-tabs copied to clipboard
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)
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.4
All bug reports, feature requests, and miscellaneous comments are welcome at the project issue tracker.
Be sure to watch the project on GitHub to receive notifications for new releases.
Requirements
v0.2.0 and higher requires gedit 3. The last version compatible with gedit 2 is v0.1.2.
Installation
- Download the source code (as zip or tar.gz) and extract.
- Copy the
controlyourtabs
folder and the appropriate.plugin
file into~/.local/share/gedit/plugins
(create if it does not exist):- For gedit 3.8 and later, copy
controlyourtabs.plugin
. - For gedit 3.6 and earlier, copy
controlyourtabs.plugin.python2
and rename tocontrolyourtabs.plugin
.
- For gedit 3.8 and later, copy
- Restart gedit, then activate the plugin in the Plugins tab in gedit's Preferences window.
Packages
-
Fedora (official repo) (Fedora 29 and later, Rawhide):
sudo dnf install gedit-control-your-tabs
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.
Contributing
Please base changes on, and open pull requests against, the develop
branch.
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:
- TabSwitch by Elia Sarti
- TabPgUpPgDown by Eran M.
- the gedit Documents panel
License
Copyright © 2010-2013, 2017-2018, 2020 Jeffery To [email protected]
Available under GNU General Public License version 3