Switch between document tabs using Ctrl+Tab and other common keyboard
shortcuts
https://github.com/jefferyto/gedit-control-your-tabs
v0.5.1-dev
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.
This plugin requires one of these text editors:
- gedit 3.12 or newer
- Pluma 1.26.0 or newer
- xed 1.4.0 or newer
The last version compatible with gedit 2 is v0.1.2, and the last version compatible with gedit 3.0–3.10 is v0.3.5.
- Download the latest release and extract.
- Copy the
controlyourtabs
folder and thecontrolyourtabs.plugin
file into one of these paths (create if it does not exist):- gedit:
~/.local/share/gedit/plugins
- Pluma:
~/.local/share/pluma/plugins
- xed:
~/.local/share/xed/plugins
- gedit:
- Restart the text editor, then activate the plugin in the Plugins tab of the text editor's Preferences window.
- Fedora (official repo) (Fedora 29 and later, Rawhide):
sudo dnf install gedit-control-your-tabs
This plugin adds the following keyboard shortcuts:
Action | Shortcut |
---|---|
Switch to next most recently used tab | Ctrl + Tab |
Switch to tab on the left | Ctrl + Page Up |
Switch to tab on the right | Ctrl + Page Down |
Move current tab left | Ctrl + Shift + Page Up |
Move current tab right | Ctrl + Shift + Page Down |
Hold down Ctrl to continue tab switching. Press Esc while holding Ctrl to cancel and return to the initial tab.
-
Ctrl+Tab and Ctrl+Shift+Tab switch to tabs on the left and right
Change Ctrl + Tab and Ctrl + Shift + Tab to switch to tabs on the left and right instead of in most recently used order.
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
.
Inspired by:
- TabSwitch by Elia Sarti
- TabPgUpPgDown by Eran M.
- the gedit Documents panel
Copyright © 2010-2013, 2017-2018, 2020, 2023-2024 Jeffery To [email protected]
Available under GNU General Public License version 3