Last active
August 29, 2019 12:45
-
-
Save ctechols/91913603d1f54c1828081721e7a1d493 to your computer and use it in GitHub Desktop.
Personal SurfingKeys Config
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
removeSearchAliasX('b'); | |
removeSearchAliasX('w'); | |
removeSearchAliasX('h'); | |
removeSearchAliasX('s'); | |
removeSearchAliasX('h'); | |
removeSearchAliasX('g'); | |
removeSearchAliasX('y'); | |
unmap("ob"); | |
unmap("og"); | |
unmap("ow"); | |
unmap("oy"); | |
addSearchAlias('s', 'startPage', 'https://www.startpage.com/do/dsearch?query='); | |
addSearchAlias('x', 'searx.me', 'https://searx.me?q='); | |
mapkey('os', '#8Open startpage search', function(){ | |
Front.openOmnibar({type:'SearchEngine', extra: 's'}); | |
}); | |
mapkey('ox', '#8Open searx.me search', function(){ | |
Front.openOmnibar({type: 'SearchEngine', extra: 'x'}); | |
}); | |
let tabKeys = ['g0', 'g$', 'gt', 'T', 'E', 'R', 'x', 'X']; | |
let omnibarKeys = [':', 'b', 't']; | |
unmapAllExcept([...tabKeys, ...omnibarKeys], /mail.google.com/); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment