Skip to content

Instantly share code, notes, and snippets.

@able8
Created March 18, 2024 06:08
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 able8/216d0f77ec2852826a7149831180e7c4 to your computer and use it in GitHub Desktop.
Save able8/216d0f77ec2852826a7149831180e7c4 to your computer and use it in GitHub Desktop.
My vimium configs
{
"keyMappings": "# Insert your preferred key mappings here.\nunmap d\nmap d scrollFullPageDown\nmap <down> scrollFullPageDown\nmap e scrollFullPageUp\nmap <up> scrollUp\n#map e scrollPageUp\nmap w nextTab\nmap a previousTab\n\nunmap l\nmap s goBack\nmap l goForward\n\nmap z restoreTab\nmap c goNext\nmap h goPrevious\n\nunmap f\nunmap F\n\n\nmap F LinkHints.activateModeToOpenInNewForegroundTab\nmap f LinkHints.activateModeToOpenInNewTab\nmap o Vomnibar.activateInNewTab\nmap q visitPreviousTab\n\n# map t createTab http://www.google.com/\n#map t createTab https://www.deepl.com/write\nmap t duplicateTab\n\nmap  ; Marks.activateGotoMode swap\nmap m Marks.activateCreateMode swap\n\nmap <c-,> moveTabLeft count=99\nmap <c-.> moveTabRight count=99\n\nmap <c-f> LinkHints.activateModeWithQueue\n\nunmap p\nmap p openCopiedUrlInNewTab\n\nmap <c-p> togglePinTab\nmap <c-d> LinkHints.activateModeToDownloadLink\n\nunmap b\nmap b Vomnibar.activateTabSelection",
"linkHintCharacters": "asdfwerzxcv",
"nextPatterns": "下一篇,下一章,下一页,next,more,newer,>,›,→,»,≫,>>",
"previousPatterns": "上一篇,prev,previous,back,older,<,‹,←,«,≪,<<",
"scrollStepSize": 400,
"grabBackFocus": true,
"searchEngines": "w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia\ng: https://www.google.com/search?q=%s Google\nb: https://www.baidu.com/s?wd=%s 百度\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",
"settingsVersion": "2.0.4",
"exclusionRules": [
{
"passKeys": "",
"pattern": "https?://shell.aliyun.com/*"
},
{
"passKeys": "",
"pattern": "https?://qwerty.kaiyi.cool/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment