Apple - Is there a keyboard shortcut to pin a tab?

I'm not on El Capitan yet. But if there is a menu bar entry in Safari to create a pinned tab, you can assign a custom keyboard shortcut.

  1. Go to System Preferences > Keyboard
  2. Select the Shortcuts Tab
  3. Select App Shortcuts at the bottom of the list
  4. Create a new shortcut:
    • Application Safari
    • The title is the exact name of the menu bar entry
    • Choose a shortcut that you like

enter image description here


Keyboard shortcut for both pinning and unpinning

If you keyboard shortcuts for pinning tabs and unpinning tabs are different, it will not work.

Specifically, once you pin a tab, you will not be able to unpin it using the unpin tab shortcut until you click the "Window" menu.

This is because the menu item in the "Window" menu is only changed from "Pin tab" to "Unpin tab" when you open it.

What’s the solution?

Set the same shortcut for both.

For example, you can set both shortcuts to Cmd+Opt+P.

enter image description here

Tags:

Macos

Safari