Skip to content

Instantly share code, notes, and snippets.

@zhlinh
Last active September 24, 2022 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhlinh/773825e7f71da977eff8ef44d3546aea to your computer and use it in GitHub Desktop.
Save zhlinh/773825e7f71da977eff8ef44d3546aea to your computer and use it in GitHub Desktop.
Chrome Extension Vimium options
{
"settingsVersion": "1.67",
"exclusionRules": [
{
"pattern": "https?://mail.google.com/*",
"passKeys": ""
}
],
"filterLinkHints": false,
"waitForEnterForFilteredHints": true,
"hideHud": false,
"keyMappings": "# https://gist.github.com/zhlinh/773825e7f71da977eff8ef44d3546aea\n# Insert your preferred key mappings here.\n# open new tab with lower case\nmap f LinkHints.activateModeToOpenInNewTab\nmap F LinkHints.activateMode\nmap p openCopiedUrlInNewTab\nmap P openCopiedUrlInCurrentTab\nmap o Vomnibar.activateInNewTab\nmap O Vomnibar.activate\nmap b Vomnibar.activateBookmarksInNewTab\nmap B Vomnibar.activateBookmarks\n\n# others\nmap w scrollFullPageUp\nmap s scrollFullPageDown\nmap D closeTabsOnRight\nmap < goPrevious\nmap > goNext\n\n# websites\nmap ,ope createTab http://ptzh.sap.cm.com/ajax/ajax.html\nmap ,cdn createTab http://spm.oa.com/spiderman/oss/busi_index.html",
"linkHintCharacters": "sadfjklewcmpgh",
"linkHintNumbers": "0123456789",
"newTabUrl": "about:newtab",
"nextPatterns": "next,more,newer,>,›,→,»,≫,>>",
"previousPatterns": "prev,previous,back,older,<,‹,←,«,≪,<<",
"regexFindMode": false,
"ignoreKeyboardLayout": false,
"scrollStepSize": 60,
"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\n\ns: https://stackoverflow.com/search?q=\nandroid: http://developer.android.com/index.html#q=\nwk_cn: https://zh.wikipedia.org/wiki/\nwk: https://en.wikipedia.org/wiki/\nmba: http://wiki.mbalib.com/wiki/\ngp: https://play.google.com/store/search?q=\nge: https://chrome.google.com/webstore/search/\ndict: http://cn.bing.com/dict/?mkt=zh-CN&setlang=ZH&q=\nrj: http://xbeta.info/search?cx=008745974804865311006%3Azm_itmaeyj8&cof=FORID%3A9&ie=UTF-8&q=\ndb: https://www.douban.com/search?source=suggest&q=\nwp1: https://www.56wangpan.net/search/o2kw\nwp2: https://www.upyunso.com/search.html?page=1&keyword=\nwp3: https://www.yunpanziyuan.com/fontsearch.htm?fontname=\nzm1: http://zmk.pw/search?q=\nzm2: http://subhd.com/search/\nzm3: http://assrt.net/sub/?searchword=\nh3c: http://www.h3c.com.cn/search/basesearch.aspx?q0=\n# ubuntu\numan: http://manpages.ubuntu.com/cgi-bin/search.py?q=\nubug: https://bugs.launchpad.net/ubuntu/\nupkg: http://packages.ubuntu.com/search?suite=default&section=all&arch=any&lang=zh-cn&searchon=names&keywords=\n# linux\nlk: http://lxr.free-electrons.com/ident?v=3.13;i=\nlman: http://man.linuxde.net/\nlpkg: http://pkgs.org/search/",
"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));\nborder: 1px solid #E3BE23;\n}\n\ndiv > .vimiumHintMarker span {\n/* linkhint text */\ncolor: black;\nfont-weight: bold;\nfont-size: 12px;\n}\n\ndiv > .vimiumHintMarker > .matchingCharacter {\n}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment