I searched for a keyboard shortcut to toggle a tab's pinning in Chrome but couldn't find anything. Does anyone know one?
7 Answers
After a little bit googling around, it seems there is none.
But you can select pin with P and unpin with U at the right click of tab's context menu.
Not handy at all.
Additionally, I found an extension named URL Pinner with some useful features like auto pinning URL with regex matching, syncing settings etc.
Edit:
Apparently, the extension is gone from Chrome Web Store at least for now.
I'll try to curate some similar alternatives here:
Tab Pinner (credit goes to Brandon Søren Culley, he suggested this in the comments down below)
Keyboard Shortcuts to Close Other/Right Tabs (this is what I use for a while now and I'm very happy with it. Although it contains few more features and focuses than just pinning the tab, furthermore it can also handle pinning very well)
Untested alternatives:
-
1Great extension! It does so much more! You couldn't give a better answer. Mar 28, 2013 at 10:15
-
1The extension may be out of date for the latest versions of Chrome (version 67 as of this writing). It will fail to install due to an "Invalid manifest" error.– thisgeekJul 11, 2018 at 12:46
-
1Looks like the extension is still working in chrome, here is the updated link chrome.google.com/webstore/detail/tab-pinner/… Jun 21, 2019 at 14:51
-
1I'm trying to keep the answer up to date as the extension is down on the store for a while now and it might be the first/popular reference regarding this topic. So please comment on the new alternatives and your experiences/thoughts about them in here if you find or try something like @BrandonSørenCulley did. This way I can curate them in the answer in an objective manner. Happy Pinning! Jun 30, 2019 at 3:30
Here is the one which works for me on Ubuntu Linux and Max OS X:
ALT + P
Note: Strangely it doesn't work on all websites eg. www.github.com www.google.com www.youtube.com.
But there is a fix: .
- Install Chrome extension "Shortkeys (Custom Keyboard Shortcuts)",
- Open chrome settings,
- Select extensions,
- Find new extension: Shortkeys (Custom Keyboard Shortcuts),
- Click on options and "Custom Keyboard Shortcuts" Options page will open,
- Linux users: type your shortcut in "Keyboard Shortcut" field (eg. type: alt+p, ctrl+p),
- MaxOS users type (eg. type: option+p, control+p, command+p) in the same field,
- Select behavior Pin/unpin tab,
- Click on "Activation Settings..." and check "Active while in form fields",
- Select "All Websites" in Website list,
- Click Save and RESTART Chrome for changes to take effect.
Enjoy !
-
Do you know of a way to disable/change this shortcut? I'm on Ubuntu as well, and I want alt+p for something else. Feb 8, 2022 at 8:11
-
Go to extensions and find shottkeys and click options then you'll see the entry which you added, you can change shortcut and remove it in needed. I don't see any disable option Feb 8, 2022 at 21:56
Add Pin Tab
to macOS System Preferences > Keyboards > Shortcuts > App Shortcuts then map this to ⌘ + P
(or any key of your choice).
-
For some reason this didn't work for me with control+P and option+P but setting it to command+shift+P did the trick. Thanks! Jun 3, 2021 at 13:35
-
1Solid solution for Mac users that doesn't need installed software. "Pin Tab" is in the Tab menu. Option+P was no good but Cmd+P worked great.– AirSep 25, 2022 at 0:26
You can toggle tab pin using the pin/unpin commands in the Ferro extension, or by hitting the Alt-Shift-P keyboard shortcut (after installing Ferro).
-
to JacopKane: to unpin a tab via a shortcut, install Ferro. Assign a shortcut to "Pin a tab". On a pinned tab, hit this shortcut and your tab won't be pinned anymore. Thanks Friday for this awesome extension. Nov 25, 2013 at 13:00
If you want a super-lightweight solution which follows the Unix philosophy of only doing one thing. I can recommend the pin tab extension, it will give you the shortcut ALT+P to pin a tab.
While @JacopKane's suggested extension should work for most use cases for Windows users, it does not register the macOS command key (I assume other keys as well). Tab Pinner uses Chrome's native shortcut manager (I did not know this existed either). Go to the extensions page, scroll down and click "Keyboard shortcuts". Now type in your preferred shortcut below the Tab Pinner section.
Another option, without installing an extension is to do cmd+shift+/
and type in pin tab
to find it in the context menu.