Skip to content

Commit

Permalink
Merge pull request #206 from JohnnyCurran/master
Browse files Browse the repository at this point in the history
Introduce 'yt' binding to duplicate current tab
  • Loading branch information
danielcompton authored Apr 12, 2021
2 parents e9723d8 + bc7642a commit 0d31b6a
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 0d31b6a

Please sign in to comment.