Skip to content

mohnish/rearrange-tabs

Repository files navigation

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.

Rearrange Tabs has been featured on LifeHacker and Changelog 😄

  • To move selected tab(s) left

    • Mac: Ctrl-CMD-Left
    • Windows: Shift-Alt-Left
  • To move selected tab(s) right

    • Mac: Ctrl-CMD-Right
    • Windows: Shift-Alt-Right
  • To move selected tab(s) to the front (leftmost position)

    • Mac: Ctrl-CMD-Up
    • Windows: Shift-Alt-Up
  • To move selected tab(s) to the back (rightmost position)

    • Mac: Ctrl-CMD-Down
    • Windows: Shift-Alt-Down

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://iam.mt/rearrange-tabs

Shortcuts are configurable via chrome://extensions/shortcuts page.

Installation

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

Customize Shortcut

  1. Go to chrome://extensions/shortcuts.
  2. Scroll down to locate Rearrange Tabs.
  3. Click in the greyed fields.
  4. 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 selected tabs around in a window
  • Move selected tabs to the leftmost or the rightmost positions

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

Compatibility

✅ Brave browser

✅ Edge browser

❌ Arc browser

Contributors

  • Mohinsh Thallavajhula (@mohnish)
  • Anže Videnič (@avidenic)
  • Tomas Juočepis (@TomasJuocepis)
  • Sandeep Appikonda (@appikonda)
  • Rob Yang (@unknownbreaker)
  • Roland Synnestvedt (@rsynnest)
  • Junho Park (@cnaa97)
  • Ross Hale (@rosshale)

License

(The MIT License)

Copyright (c) 2023 Mohnish Thallavajhula <[email protected]>

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.