Skip to content

Commit

Permalink
Introduce 'yt' binding to duplicate current tab
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyCurran committed Oct 9, 2020
1 parent 197dd24 commit bc7642a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Vimari Extension/js/injected.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ var actionMap = {
'closeTab':
function() { extensionCommunicator.requestCloseTab(); },

'duplicateTab':
function() { window.open(window.location.href); },

'scrollDownHalfPage':
function() { customScrollBy(0, window.innerHeight / 2); },

Expand Down
3 changes: 2 additions & 1 deletion Vimari Extension/json/defaultSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"tabForward": "w",
"tabBack": "q",
"closeTab": "x",
"openTab": "t"
"openTab": "t",
"duplicateTab": "y t"
}
}

0 comments on commit bc7642a

Please sign in to comment.