Skip to content

Commit

Permalink
Add Google Translation
Browse files Browse the repository at this point in the history
  • Loading branch information
mooz committed Aug 14, 2019
1 parent a8a2ff5 commit c9e9562
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package/settings.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ config.globalKeyMap = {
"ctrl-b": "ArrowLeft",
"ctrl-m": "Enter",
"/": () => $notify("searchText"),
"meta-t": ()=> {
$notify("createNewTab", {
url: `https://translate.google.com/translate?hl=auto&sl=auto&&sandbox=1&u=${encodeURIComponent(location.href)}`
});
},
q: () => $notify("exitApplication"),
"meta-i": () => keysnail.startOutlineSelector()
}
Expand Down

0 comments on commit c9e9562

Please sign in to comment.