Skip to content

Instantly share code, notes, and snippets.

@mizzunet
Last active March 14, 2022 19:49
Show Gist options
  • Save mizzunet/a4272e6bb9ff72d0f3dd9f6bdd96264c to your computer and use it in GitHub Desktop.
Save mizzunet/a4272e6bb9ff72d0f3dd9f6bdd96264c to your computer and use it in GitHub Desktop.
Vimium C
unmapAll
# Navigating the page
map j scrollDown count=2
map k scrollUp count=2
map G scrollToBottom
map gg scrollToTop
map e scrollPageUp
map d scrollPageDown
map h scrollLeft
map l scrollRight
map # scrollToLeft
map $ scrollToRight
map gu goUp
map gU goToRoot
map r reload
map yy copyCurrentUrl
map p openCopiedUrlInCurrentTab
map P openCopiedUrlInNewTab
# Hints
map f LinkHints.activate
map gf LinkHints.activateOpenInNewTab
map af LinkHints.activateOpenInNewForegroundTab
map ya LinkHints.activateCopyLinkUrl
map zz LinkHints.activateDownloadLink
map q LinkHints.activateHover
map i focusInput
map v LinkHints.activateSelect
# Using the vomnibar
map go Vomnibar.activate clickLike
map t Vomnibar.activateInNewTab clickLike
map ;U Vomnibar.activateEditUrlInNewTab
map ;u Vomnibar.activateEditUrl
# Using find
map / enterFindMode
map n performFind
map N performBackwardsFind
# Navigating history
map D goForward
map S goBack
# Manipulating tabs
map R nextTab
map E previousTab
map on createTab
map x removeTab
map X restoreTab
map g1 firstTab
map g9 lastTab
map zd duplicateTab
map zp togglePinTab
map zm toggleMuteTab
map >> moveTabRight
map << moveTabLeft
map gx0 closeTabsOnLeft
map gx$ closeTabsOnRight
# Zoom
map zi zoom in
map zo zoom out
map zr zoom reset
# Miscellaneous
map ;e openUrl "moz-extension://3fbb4ce4-05dd-4cbb-a70c-450cd2f87489/pages/options.html"
map ? showHelp
p: https://searx.be/search?q=%s SearX
g: https://www.goodreads.com/search?q=%s Goodreads
d: https://www.oxfordlearnersdictionaries.com/definition/english/%s Dictionary
bk: https://1lib.in/s/%s/?languages[0]=english&extensions[0]=azw&extensions[1]=epub&extensions[2]=mobi Books
myn: https://www.myntra.com/%s Myntra
t: https://searx.be/search?q=%s&categories=files Torrent
i: https://invidio.xamh.de/search?q=%s Invidious
f: https://www.flipkart.com/search?q=%s Flipkart
a: https://www.amazon.in/s?k=%s Amazon
b: https://search.brave.com/search?q=%s Brave
#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker {
padding: 3px 4px;
background: #444;
border: none;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
#vimiumHintMarkerContainer div span {
color: #fff;
text-shadow: none;
}
#vimiumHintMarkerContainer div > .matchingCharacter {
opacity: 0.4;
}
#vimiumHintMarkerContainer div > .matchingCharacter ~ span {
color: hotpink;
}
#vomnibar {
background: #444;
border: none;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
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 .vomnibarSearchArea,
#vomnibar input {
color: #fff;
background: transparent;
border: none;
}
#vomnibar .vomnibarSearchArea {
padding: 10px 30px;
}
#vomnibar input {
padding: 0;
}
#vomnibar ul {
padding: 0;
background: #444;
border-top: 1px solid #333;
}
#vomnibar li {
padding: 10px;
border-bottom: 1px solid #333;
}
#vomnibar li .vomnibarTopHalf,
#vomnibar li .vomnibarBottomHalf {
padding: 3px 0;
}
#vomnibar li .vomnibarSource {
color: #aaa;
}
#vomnibar li em,
#vomnibar li .vomnibarTitle {
color: #aaa;
}
#vomnibar li .vomnibarUrl {
color: #777;
}
#vomnibar li .vomnibarMatch {
color: hotpink;
font-weight: normal;
}
#vomnibar li .vomnibarTitle .vomnibarMatch {
color: hotpink;
}
#vomnibar li.vomnibarSelected {
background-color: #333;
}
div.vimiumHUD {
background: #444;
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: #fff;
}
div.vimiumHUD .hud-find {
background-color: transparent;
border: none;
}
div.vimiumHUD .vimiumHUDSearchArea {
background-color: transparent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment