Skip to content

Instantly share code, notes, and snippets.

@zhlinh
Last active May 18, 2024 14:59
Show Gist options
  • 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
{
"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",
"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://miaosou.fun/info?searchKey=\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/",
"settingsVersion": "2.1.2",
"exclusionRules": [
{
"passKeys": "",
"pattern": "https?://mail.google.com/*"
},
{
"passKeys": "",
"pattern": "https?://workbench.cloud.tencent.com/*"
},
{
"passKeys": "",
"pattern": "https?://accounts.google.com/*"
},
{
"passKeys": "",
"pattern": "https?://devops.woa.com/*"
},
{
"passKeys": "",
"pattern": "https?://app.diagrams.net/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment