Skip to content

Latest commit

 

History

History
97 lines (65 loc) · 3.55 KB

README.md

File metadata and controls

97 lines (65 loc) · 3.55 KB

Control Your Tabs, a plugin for gedit, Pluma, and xed

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.

Requirements

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.

Installation

  1. Download the latest release and extract.
  2. Copy the controlyourtabs folder and the controlyourtabs.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
  3. Restart the text editor, then activate the plugin in the Plugins tab of the text editor's Preferences window.

Packages

Usage

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.

Preferences

  • 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.

Contributing

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, 2020, 2023-2024 Jeffery To jeffery.to@gmail.com

Available under GNU General Public License version 3