Skip to content

Instantly share code, notes, and snippets.

@gusaiani
Last active October 23, 2024 02:09
Show Gist options
  • Save gusaiani/587ce83e1813ab256f7480b39e968dc6 to your computer and use it in GitHub Desktop.
Save gusaiani/587ce83e1813ab256f7480b39e968dc6 to your computer and use it in GitHub Desktop.
Vimium setup for Colemak keyboard
{
"settingsVersion": "1.64",
"exclusionRules": [
{
"pattern": "https?://mail.google.com/*",
"passKeys": ""
},
{
"pattern": "https?://toggl.com/*",
"passKeys": "n"
},
{
"pattern": "https?://twitter.com/*",
"passKeys": "gn"
},
{
"pattern": "https?://github.com/*",
"passKeys": "t"
},
{
"pattern": "https?://docs.google.com/*",
"passKeys": ""
},
{
"pattern": "https?://docs.google.com/spreadsheets/*",
"passKeys": ""
},
{
"pattern": "https?://www.toggl.com/*",
"passKeys": "n"
},
{
"pattern": "https?://appear.in/*",
"passKeys": "m"
}
],
"filterLinkHints": false,
"waitForEnterForFilteredHints": true,
"hideHud": false,
"keyMappings": "# Insert your preferred key mappings here.\nunmap j\nunmap k\nunmap J\nunmap K\nmap n scrollDown\nmap e scrollUp\nmap N previousTab\nmap E nextTab\nmap 2 2g0\nmap , performFind\nmap m performBackwardsFind",
"linkHintCharacters": "ntesir",
"linkHintNumbers": "arstneio",
"newTabUrl": "about:newtab",
"nextPatterns": "next,more,newer,>,›,→,»,≫,>>",
"previousPatterns": "prev,previous,back,older,<,‹,←,«,≪,<<",
"regexFindMode": false,
"ignoreKeyboardLayout": false,
"scrollStepSize": 100,
"smoothScroll": true,
"grabBackFocus": false,
"searchEngines": "w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia\n\n# More examples.\n#\n# (Vimium supports search completion Wikipedia, as\n# above, and for these.)\n#\n# g: https://www.google.com/search?q=%s Google\n# l: https://www.google.com/search?q=%s&btnI I'm feeling lucky...\n# y: https://www.youtube.com/results?search_query=%s Youtube\n# gm: https://www.google.com/maps?q=%s Google maps\n# b: https://www.bing.com/search?q=%s Bing\n# d: https://duckduckgo.com/?q=%s DuckDuckGo\n# az: https://www.amazon.com/s/?field-keywords=%s Amazon\n# qw: https://www.qwant.com/?q=%s Qwant",
"searchUrl": "https://www.google.com/search?q=",
"userDefinedLinkHintCss": "div > .vimiumHintMarker {\n/* linkhint boxes */\nbackground: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785),\n color-stop(100%,#FFC542));\nbackground: rgba(36, 110, 165, 0.91);\nborder: 1px solid #2277BB;\npadding: 5px 7px 6px;\n}\n\ndiv > .vimiumHintMarker span {\n/* linkhint text */\ncolor: white;\nfont-weight: bold;\nfont-size: 14px;\ntext-shadow: none;\n}\n\ndiv > .vimiumHintMarker > .matchingCharacter {\ncolor: rgb(155, 170, 240);\n}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment