Last active
February 14, 2024 09:11
-
-
Save ngntrgduc/56466d9bb66b2d2a7a27d42442a99850 to your computer and use it in GitHub Desktop.
My settings for Vimium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"keyMappings": "unmap <c-e>\nunmap <c-y>\nunmap h\nunmap l\nunmap T\nunmap v\nunmap V\nunmap O\nunmap b\nunmap B\nunmap gt\nunmap gT\nunmap gs\nunmap gf\nunmap gF\nunmap g0\nunmap g$\nunmap W\nunmap R\nunmap ge\nunmap gE\nunmap zL\nunmap zH\nunmap /\nunmap n\nunmap N\nunmap ?\n\nmap o Vomnibar.activateInNewTab\nmap gf LinkHints.activateModeToOpenInNewForegroundTab\nmap R Vomnibar.activateEditUrlInNewTab\nmap b visitPreviousTab", | |
"linkHintCharacters": "sdfghjkl", | |
"scrollStepSize": 80, | |
"searchEngines": "sc: https://soundcloud.com/search?q=%s SoundCloud\ngh: https://github.com/search?q=%s&type=repositories GitHub\ny: https://www.youtube.com/results?search_query=%s YouTube\ntt: http://tratu.soha.vn/dict/en_vn/%s Tra từ\nlw: https://app.ludwig.guru/s/%s Ludwig\nlg: https://libgen.is/search.php?&req=%s&sort=extension&sortmode=DESC LibGen\nexact: https://www.google.com/search?q=\"%s\" Search for an exact match\nurban: https://www.urbandictionary.com/define.php?term=%s Urban Dictionary\nyg: https://youglish.com/pronounce/%s/english? YouGlish\noz: https://ozdic.com/collocation/%s/ OZDIC", | |
"settingsVersion": "2.0.6", | |
"userDefinedLinkHintCss": "/* Mocha palette */\n\n:root {\n --red: #f38ba8;\n --yellow: #f9e2af;\n --sapphire: #74c7ec;\n --sky: #89dceb;\n --blue: #89b4fa;\n --lavender: #b4befe;\n --text: #cdd6f4;\n --surface2: #585b70;\n --surface0: #313244;\n --base: #1e1e2e;\n --mantle: #181825;\n}\n\n#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker {\n padding: 3px 4px;\n background: var(--yellow);\n border: 1;\n border-color: var(--mantle);\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n\n#vimiumHintMarkerContainer div > .matchingCharacter {\n opacity: 0.3;\n}\n\n#vomnibar {\n background: var(--base);\n border: 3px solid var(--lavender);\n animation: show 200ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n\n@keyframes show {\n 0% {\n transform: translateY(50px);\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n}\n\n#vomnibar input {\n color: var(--text);\n background: var(--base);\n border: none;\n height: unset;\n padding: 16px 30px;\n}\n\n#vomnibar .vomnibarSearchArea {\n border: none;\n padding: unset;\n background: var(--base)\n}\n\n#vomnibar ul {\n padding: 0;\n margin: 0;\n background: var(--base);\n border-top: 1px solid var(--surface0);\n}\n\n\n#vomnibar li {\n border-bottom: 1px solid var(--surface0)\n}\n\n#vomnibar li .vomnibarSource {\n color: var(--sky);\n}\n\n#vomnibar li em,\n#vomnibar li .vomnibarTitle {\n color: var(--blue);\n font-weight: bold;\n}\n\n#vomnibar li .vomnibarUrl {\n color: var(--text);\n}\n\n#vomnibar li .vomnibarMatch {\n color: var(--red);\n font-weight: bold;\n}\n\n#vomnibar li .vomnibarTitle .vomnibarMatch {\n color: var(--blue);\n}\n\n#vomnibar li.vomnibarSelected {\n background-color: var(--surface0);\n}\n\ndiv.vimiumHUD {\n background: var(--base);\n border: none;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n}\n\ndiv.vimiumHUD span#hud-find-input,\ndiv.vimiumHUD .vimiumHUDSearchAreaInner {\n color: var(--text)\n}\n\ndiv.vimiumHUD .hud-find {\n background-color: var(--base);\n border: none;\n}\n\ndiv.vimiumHUD .vimiumHUDSearchArea {\n background-color: var(--base);\n}", | |
"exclusionRules": [ | |
{ | |
"passKeys": "", | |
"pattern": "https?://mail.google.com/*" | |
}, | |
{ | |
"passKeys": "gxtmyjkhl", | |
"pattern": "https?://calendar.google.com/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://www.messenger.com/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://www.notion.so/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://monkeytype.com/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://typst.app/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://www.overleaf.com/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://www.merriam-webster.com/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://mail.proton.me/*" | |
}, | |
{ | |
"passKeys": "/?", | |
"pattern": "https?://github.com/*" | |
}, | |
{ | |
"passKeys": "/", | |
"pattern": "https?://www.google.com/*" | |
}, | |
{ | |
"passKeys": "mt", | |
"pattern": "https?://tasks.google.com/*" | |
}, | |
{ | |
"passKeys": "R", | |
"pattern": "https?://photos.google.com/*" | |
}, | |
{ | |
"passKeys": "i><1234567890/m", | |
"pattern": "https?://www.youtube.com/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://colab.research.google.com/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://hackmd.io/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://www.codewars.com/*" | |
}, | |
{ | |
"passKeys": "", | |
"pattern": "https?://docs.google.com/*" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Mocha palette */ | |
:root { | |
--red: #f38ba8; | |
--yellow: #f9e2af; | |
--sapphire: #74c7ec; | |
--sky: #89dceb; | |
--blue: #89b4fa; | |
--lavender: #b4befe; | |
--text: #cdd6f4; | |
--surface2: #585b70; | |
--surface0: #313244; | |
--base: #1e1e2e; | |
--mantle: #181825; | |
} | |
#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker { | |
padding: 3px 4px; | |
background: var(--yellow); | |
border: 1; | |
border-color: var(--mantle); | |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); | |
} | |
#vimiumHintMarkerContainer div > .matchingCharacter { | |
opacity: 0.3; | |
} | |
#vomnibar { | |
background: var(--base); | |
border: 3px solid var(--lavender); | |
animation: show 200ms cubic-bezier(0, 0, 0.2, 1) forwards; | |
} | |
@keyframes show { | |
0% { | |
transform: translateY(50px); | |
opacity: 0; | |
} | |
100% { | |
transform: translateY(0); | |
opacity: 1; | |
} | |
} | |
#vomnibar input { | |
color: var(--text); | |
background: var(--base); | |
border: none; | |
height: unset; | |
padding: 16px 30px; | |
} | |
#vomnibar .vomnibarSearchArea { | |
border: none; | |
padding: unset; | |
background: var(--base) | |
} | |
#vomnibar ul { | |
padding: 0; | |
margin: 0; | |
background: var(--base); | |
border-top: 1px solid var(--surface0); | |
} | |
#vomnibar li { | |
border-bottom: 1px solid var(--surface0) | |
} | |
#vomnibar li .vomnibarSource { | |
color: var(--sky); | |
} | |
#vomnibar li em, | |
#vomnibar li .vomnibarTitle { | |
color: var(--blue); | |
font-weight: bold; | |
} | |
#vomnibar li .vomnibarUrl { | |
color: var(--text); | |
} | |
#vomnibar li .vomnibarMatch { | |
color: var(--red); | |
font-weight: bold; | |
} | |
#vomnibar li .vomnibarTitle .vomnibarMatch { | |
color: var(--blue); | |
} | |
#vomnibar li.vomnibarSelected { | |
background-color: var(--surface0); | |
} | |
div.vimiumHUD { | |
background: var(--base); | |
border: none; | |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); | |
} | |
div.vimiumHUD span#hud-find-input, | |
div.vimiumHUD .vimiumHUDSearchAreaInner { | |
color: var(--text) | |
} | |
div.vimiumHUD .hud-find { | |
background-color: var(--base); | |
border: none; | |
} | |
div.vimiumHUD .vimiumHUDSearchArea { | |
background-color: var(--base); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment