/rearrange-tabs

Google Chrome Extension to rearrange your tabs using keyboard shortcuts

Primary LanguageJavaScriptMIT LicenseMIT

Rearrange Tabs

Rearrange Tabs is a tiny Google Chrome Extension that allows users to rearrange the position of the tabs in a window by moving them around using keyboard shortcuts.

  • To move a tab to its left

    • Mac: Ctrl-Shift-Left
    • Windows: Shift-Alt-Left
  • To move a tab to its right

    • Mac: Ctrl-Shift-Right
    • Windows: Shift-Alt-Right

It's as simple as that. Here's how it looks like: https://www.youtube.com/watch?v=A1X3geKtF8A

Here's the introduction blog post: https://mt.cx/rearrange-tabs

Shortcuts are configurable via chrome://extensions page.

Installation

Install the extension by visiting this Chrome Web Store link: Chrome Web Store

Customize Shortcut

  1. Go to chrome://extensions and scroll to the bottom of the page.
  2. Click on Keyboard shortcuts to open Keyboard Shortcuts for Extensions and Apps.
  3. Scroll down to locate Rearrange Tabs.
  4. Click in the greyed out fields for Not set.
  5. Press the desired key combination to create a new shortcut.

image

Features:

  • Move regular tabs around in a window
  • Move pinned tabs around in a window
  • Move multiple highlighted tabs around in a window

Development

  • Once the changes have been made to the the extension, run make dist. This will update the dist directory with the new files
  • If for some reason you want to remove the dist directory, run make clean
  • It might be necessary to install make before you can use it. If you encounter an error, open the terminal and run sudo apt-get install zip make

Contributors

  • Mohinsh Thallavajhula (@mohnish)
  • Anže Videnič (@avidenic)
  • Sandeep Appikonda (@appikonda)
  • Rob Yang (@unknownbreaker)

License

(The MIT License)

Copyright (c) 2016 Mohnish Thallavajhula <i@mohni.sh>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.