Last active
October 20, 2022 18:19
-
-
Save hunterwei/d319ee88118a3455f078189636c41970 to your computer and use it in GitHub Desktop.
Surfingkeys Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Remap 'Tab on the right' with `gt`/`K` | |
api.map('gt', 'R'); | |
api.map('K', 'R'); | |
// Remap 'Tab on the left' with `gT`/`J` | |
api.map('gT', 'E'); | |
api.map('J', 'E'); | |
// Remap 'Back in hisotry' with `gT`/`J` | |
api.map('H', 'S'); | |
// Remap 'Forward in hisotry' with `gT`/`J` | |
api.map('L', 'D'); | |
// Remap 'Open a link in active new tab'/`af` with `F` | |
api.map('F', 'af'); | |
// an example to remove mapkey `Ctrl-i` | |
api.unmap('<ctrl-i>'); | |
// Disable PDF viewer | |
chrome.storage.local.set({"noPdfViewer": 1}) | |
// click `Save` button to make above settings to take effect.</ctrl-i></ctrl-y> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment