Hotkeys to move tabs around

Latest Version

Version
2.2.1
Update
November 16, 2018
Size
38.65KiB
Developer
Category
Users
197
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English (United States)
See more
Permissions
Storage
See more

Move Tab Hotkeys Extension

Adds shortcut keys to move the current tab or a group of selected tabs around the tab bar.

The following hotkeys are provided:
* [Alt+Shift+Left]: Move tab one to the left, wrapping to the right end if the tab is currently in the first position
* [Alt+Shift+Right]: Move tab one to the right, wrapping to the left end if the tab is currently in the last position
* [Alt+Shift+0]: Move tab to the start of the tab bar
* [Alt+Shift+9]: Move tab to the end of the tab bar

These keys can be changed in Chrome's extensions keyboard shortcuts page.

Multi-Selected Tabs:
If you select multiple tabs at once, you can move them as a group. This can be turned off on the Options page if you prefer to only move the current tab even when others are selected.

Notes on Pinned Tabs:
* If you have any pinned tabs, pinned tabs and non-pinned tabs are treated like separate tab bars. Non-pinned tabs move to start/end of the non-pinned tabs section.
* If multiple tab selection is enabled and you select a group containing both pinned and non-pinned tabs, no movement will be possible.

The default keys for this extension use the number 0 and 9 keys from the number row at the top of most keyboards. If you wish to use the 0 and 9 keys from the number pad, there are two options:
1. If you wish to use _only_ the number keys from the keypad, you can change the keyboard shortcuts in Chrome.
1.1. Go to the menu -> More Tools -> Extensions
1.2. Select the menu from the top left of the Extensions screen and choose \"Keyboard Shortcuts\"
1.3. Enter whatever key you would like for each action. Note that the keys are different depending on whether NumLock is turned on or off on the keyboard.
2. If you with to use both the number keys in the number row _and_ the number pad, or you wish to use the number pad with NumLock turned both on and off, you can use the additional extension:
2.1. Move Tab Hotkeys (Chrome Number Pad Keys) - this provides default key mappings for the number pad to use Alt+Shift+0/9 to move the current tab to the first/last position.

---------------------
Version History:
2.2.0:
* Add ability to move multiple tabs at once if multiple are selected.

2.0.0:
* Fix logic to correctly disable tab wrapping for the first tab in the bar in Chrome.

1.2.0:
* Fix ability to use the the number pad for 0/9 in shortcuts for Firefox.
* Add a variant of this extension to Chrome to work around Chrome's restriction to 4 keyboard commands.

1.1.0:
* Add option to disable tab wrapping at start/end of tab bar.

1.0.0:
* Initial version
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Move Tab Hotkeys", "description": "Hotkeys to move tabs around", "homepage_url": "https://github.com/jmmerz/move-tab-hotkeys", "manifest_version": 2, "version": "2.2.1", "author": "Jonathon Merz", "icons": { "48": "icons/icon48.png", "64": "icons/icon64.png", "128": "icons/icon128.png" }, "permissions": [ "storage" ], "background": { "scripts": [ "common/browserCompatibility.js", "common/globalOptions.js", "moveTabs.js" ] }, "commands": { "move-tab-left": { "suggested_key": { "default": "Alt+Shift+Left" }, "description": "Move the selected tab(s) left" }, "move-tab-right": { "suggested_key": { "default": "Alt+Shift+Right" }, "description": "Move the selected tab(s) right" }, "move-tab-first-numbers-row": { "suggested_key": { "default": "Alt+Shift+0" }, "description": "Move the selected tab(s) to the start" }, "move-tab-last-numbers-row": { "suggested_key": { "default": "Alt+Shift+9" }, "description": "Move the selected tab(s) to the end" } }, "options_ui": { "page": "options/options.html" }}
Read more