Firefox add-on to pin or unpin current tab in more efficient ways.
Pin Unpin Tab is a Firefox WebExtension to pin or unpin a tab by
Alt-P
(Ctrl-Shift-P
on macOS), which Firefox allows to customize. See the guide here.
Note that double-click on a tab (active or not) to pin/unpin is not going to be possible due to the limitations of the WebExtensions technology. Only Mozilla can fix it, not me. Look here and here for more details.
Icons made by Smashicons from www.flaticon.com is licensed by CC 3.0 BY