added support for pinning/unpinning tabs

features:
 * pin tab
 * unpin tab
 * toggle pin/unpin tab
This commit is contained in:
Jiabo Hou 2017-10-31 19:37:27 -04:00
parent b3b017a123
commit c2d2f895a5
5 changed files with 24 additions and 1 deletions

View file

@ -32,6 +32,7 @@ export default {
"g$": { "type": "tabs.last" },
"r": { "type": "tabs.reload", "cache": false },
"R": { "type": "tabs.reload", "cache": true },
"p": { "type": "tabs.pin.toggle" },
"zi": { "type": "zoom.in" },
"zo": { "type": "zoom.out" },
"zz": { "type": "zoom.neutral" },

View file

@ -39,6 +39,9 @@ export default {
TAB_FIRST: 'tabs.first',
TAB_LAST: 'tabs.last',
TAB_RELOAD: 'tabs.reload',
TAB_PIN: 'tabs.pin',
TAB_UNPIN: 'tabs.unpin',
TAB_TOGGLE_PINNED: 'tabs.pin.toggle',
// Zooms
ZOOM_IN: 'zoom.in',