Add vimium options

This commit is contained in:
Yan Lin 2025-09-26 13:34:45 +02:00
parent 663c72d549
commit c951ea87c2

View file

@ -0,0 +1,21 @@
{
"settingsVersion": "1.67",
"exclusionRules": [],
"filterLinkHints": false,
"waitForEnterForFilteredHints": true,
"hideHud": false,
"keyMappings": "# Disable all default key bindings first\nunmapAll\n\n\n\n# Essential commands\nmap ? showHelp\n\n# Navigation (matching nvim's movement)\nmap h scrollLeft\nmap l scrollRight\nmap j scrollDown\nmap k scrollUp\nmap gg scrollToTop\nmap G scrollToBottom\n\n# Tab/Buffer navigation (matching nvim's buffer navigation)\nmap H previousTab\nmap L nextTab\nmap <c-h> previousTab\nmap <c-l> nextTab\n\n# Leader key patterns (Space as leader, matching nvim)\nmap <space>t Vomnibar.activateTabSelection\nmap <space>b Vomnibar.activateBookmarksInNewTab\nmap <space>e LinkHints.activateMode\nmap <space>f LinkHints.activateModeToOpenInNewTab\nmap <space>w removeTab\nmap <space>x removeTab\nmap <space>r reload\n\n# Search (matching nvim's Telescope bindings)\nmap <space>g Vomnibar.activate\nmap / enterFindMode\nmap n performFind\nmap N performBackwardsFind\n\n# Quick actions\nmap f LinkHints.activateMode\nmap u restoreTab\nmap t createTab\nmap T Vomnibar.activateTabSelection\n\n# Visual/caret mode\nmap v enterVisualMode\nmap V enterVisualLineMode\n\n# Yank/copy\nmap yy copyCurrentUrl\nmap yf LinkHints.activateModeWithQueue\n\n# History navigation\nmap <c-o> goBack\nmap <c-i> goForward\nmap J goBack\nmap K goForward\n\n",
"linkHintCharacters": "hjklasdfgyuiopqwertnmzxcvb",
"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": "",
"searchUrl": "https://www.google.com/search?q=",
"userDefinedLinkHintCss": "div > .vimiumHintMarker {\n padding: 2px 3px;\n background-color: #fabd2f;\n color: #282828;\n font-weight: bold;\n font-size: 12px;\n font-family: monospace;\n border: 1px solid #282828;\n}\n\ndiv > .vimiumHintMarker span {\n color: #282828;\n}\n\ndiv > .vimiumHintMarker > .matchingCharacter {\n color: #fb4934;\n}"
}