nix/config/vimium-options.json
2026-02-13 13:13:29 +01:00

21 lines
2.7 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"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\nmap <c-f> scrollPageDown\nmap <c-b> scrollPageUp\n\n# Tab/Buffer navigation (matching nvim's buffer navigation)\nmap H previousTab\nmap 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>x removeTab\nmap <space>X closeOtherTabs\nmap <space>r reload\n\n# Search (matching nvim's Telescope bindings)\nmap <space>g Vomnibar.activateInNewTab\nmap / enterFindMode\nmap n performFind\nmap N performBackwardsFind\n\n# Quick actions\nmap f LinkHints.activateMode\nmap u restoreTab\nmap t createTab\n\n# Visual/caret mode\nmap v enterVisualMode\nmap V enterVisualLineMode\n\n# Insert mode\nmap i enterInsertMode\n\n# Yank/copy\nmap yy copyCurrentUrl\nmap yf LinkHints.activateModeWithQueue\nmap <space>y LinkHints.activateModeToCopyLinkUrl\n\n# History navigation\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": "d: https://duckduckgo.com/?q=%s\ng: https://www.google.com/search?q=%s\ngh: https://github.com/search?q=%s\nmap: https://www.google.com/maps/search/%s\nnix: https://search.nixos.org/packages?channel=unstable&query=%s\nytb: https://www.youtube.com/results?search_query=%s\nscholar: https://scholar.google.com/scholar?q=%s\ndblp: https://dblp.org/search?q=%s\nimg: https://duckduckgo.com/?q=%s&iax=images&ia=images\nbili: https://search.bilibili.com/all?keyword=%s\nwiki: https://en.wikipedia.org/w/index.php?search=%s",
"searchUrl": "https://duckduckgo.com/?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}"
}