Skip to content

Commit

Permalink
Merge branch 'multiverse'
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferyto committed Oct 24, 2024
2 parents c8f9663 + ed6ca0b commit 251c26d
Show file tree
Hide file tree
Showing 17 changed files with 1,653 additions and 1,118 deletions.
8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog

## [v0.4.2-dev][Unreleased] - Unreleased
* Added support for Pluma and xed
* Added support for moving tabs with Ctrl-Shift-Page Up and
Ctrl-Shift-Page Down ([#13])
* Added support for switching tabs with Tab/Page Up/Page Down keys in
numeric keypad
* Settings schema can be stored in a shared schemas location instead of
the plugin "schemas" directory

## [v0.4.1] - 2024-06-07
* Fixed error when loaded in gedit 47
Expand Down Expand Up @@ -92,5 +99,6 @@

[#4]: https://github.com/jefferyto/gedit-control-your-tabs/pull/4
[#8]: https://github.com/jefferyto/gedit-control-your-tabs/pull/8
[#13]: https://github.com/jefferyto/gedit-control-your-tabs/issues/13
[#15]: https://github.com/jefferyto/gedit-control-your-tabs/pull/15
[#17]: https://github.com/jefferyto/gedit-control-your-tabs/issues/17
53 changes: 33 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Control Your Tabs, a plugin for gedit
# Control Your Tabs, a plugin for gedit, Pluma, and xed

Switch between document tabs using Ctrl+Tab / Ctrl+Shift+Tab and
Ctrl+PageUp / Ctrl+PageDown
Switch between document tabs using Ctrl+Tab and other common keyboard
shortcuts
<https://github.com/jefferyto/gedit-control-your-tabs>
v0.4.2-dev

Expand All @@ -15,9 +15,14 @@ releases.

## Requirements

This plugin requires gedit 3.12 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].
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&ndash;3.10 is [v0.3.5].

[v0.1.2]: https://github.com/jefferyto/gedit-control-your-tabs/releases/tag/v0.1.2
[v0.3.5]: https://github.com/jefferyto/gedit-control-your-tabs/releases/tag/v0.3.5
Expand All @@ -26,10 +31,12 @@ with gedit 2 is [v0.1.2], and the last version compatible with gedit

1. Download the [latest release] and extract.
2. Copy the `controlyourtabs` folder and the `controlyourtabs.plugin`
file into `~/.local/share/gedit/plugins` (create if it does not
exist).
3. Restart gedit, then activate the plugin in the **Plugins** tab in
gedit's **Preferences** window.
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.

[latest release]: https://github.com/jefferyto/gedit-control-your-tabs/releases/latest

Expand All @@ -42,21 +49,27 @@ with gedit 2 is [v0.1.2], and the last version compatible with gedit

## Usage

* <kbd>Ctrl</kbd>+<kbd>Tab</kbd> /
<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Tab</kbd> - Switch tabs in
most recently used order.
* <kbd>Ctrl</kbd>+<kbd>Page Up</kbd> /
<kbd>Ctrl</kbd>+<kbd>Page Down</kbd> - Switch tabs in tab row order.
This plugin adds the following keyboard shortcuts:

| Action | Shortcut |
| :------------------------------------ | :-------------------------------------------------------- |
| Switch to next most recently used tab | <kbd>Ctrl</kbd> + <kbd>Tab</kbd> |
| Switch to tab on the left | <kbd>Ctrl</kbd> + <kbd>Page Up</kbd> |
| Switch to tab on the right | <kbd>Ctrl</kbd> + <kbd>Page Down</kbd> |
| Move current tab left | <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Page Up</kbd> |
| Move current tab right | <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Page Down</kbd> |

Hold down <kbd>Ctrl</kbd> to continue tab switching. Press
<kbd>Esc</kbd> while switching to cancel and return to the initial tab.
<kbd>Esc</kbd> while holding <kbd>Ctrl</kbd> to cancel and return to the
initial tab.

## Preferences

* `Use tab row order for Ctrl+Tab / Ctrl+Shift+Tab` - Change
<kbd>Ctrl</kbd>+<kbd>Tab</kbd> /
<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Tab</kbd> to switch tabs in
tab row order instead of most recently used order.
* `Ctrl+Tab and Ctrl+Shift+Tab switch to tabs on the left and right`

Change <kbd>Ctrl</kbd> + <kbd>Tab</kbd> and <kbd>Ctrl</kbd> +
<kbd>Shift</kbd> + <kbd>Tab</kbd> to switch to tabs on the left and
right instead of in most recently used order.

## Contributing

Expand Down
Loading

0 comments on commit 251c26d

Please sign in to comment.