Skip to content

Instantly share code, notes, and snippets.

@hasufell
Last active August 10, 2022 13:30
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 hasufell/c230564d5b730b47ee423816b70c4001 to your computer and use it in GitHub Desktop.
Save hasufell/c230564d5b730b47ee423816b70c4001 to your computer and use it in GitHub Desktop.
mapKey <e:v> j
mapKey <o:v> k
mapKey <n:v> h
mapKey <i:v> l
mapKey <h:v> e
mapKey <c-c> <c-[>
# Insert your preferred key mappings here.
unmap n
# unmap e
unmap i
map <a-f> Vomnibar.activate
map <c-f> Vomnibar.activateInNewTab
unmap d
unmap u
unmap j
unmap k
unmap <c-e>
unmap <c-y>
map o scrollUp
map <c-o> scrollPxUp count=400 smooth=false
map e scrollDown
map <c-e> scrollPxDown count=400 smooth=false
unmap N
map k performFind
map K performBackwardsFind
map u enterInsertMode
map . nextTab
map , previousTab
map <c-s-c> autoCopy
g|go|gg|google|Google: https://www.google.com/search?q=%s \
www.google.com re=/^(?:\.[a-z]{2,4})?\/search\b.*?[#&?]q=([^#&]*)/i\
blank=https://www.google.com/ Google
br|brave: https://search.brave.com/search?q=%s Brave
d|dd|ddg|duckduckgo: https://duckduckgo.com/?q=%s DuckDuckGo
w|wiki|Wikipedia: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia
g.m|gm|g.map|gmap: https://www.google.com/maps?q=%s \
blank=https://www.google.com/maps Google Maps
b.m|bm|map|b.map|bmap|百度地图: \
https://api.map.baidu.com/geocoder?output=html&address=%s&src=vimium-c
y|yt: https://www.youtube.com/results?search_query=%s \
blank=https://www.youtube.com/ YouTube
w|wiki: https://www.wikipedia.org/w/index.php?search=%s Wikipedia
g.s|gs|gscholar: https://scholar.google.com/scholar?q=$s \
scholar.google.com re=/^(?:\.[a-z]{2,4})?\/scholar\b.*?[#&?]q=([^#&]*)/i\
blank=https://scholar.google.com/ Google Scholar
k|hackage: https://hackage.haskell.org/packages/search?terms=%s Hackage
h|hoogle: https://hoogle.haskell.org/?hoogle=% Hoogle
az|amazon: https://www.amazon.com/s/?field-keywords=%s \
blank=https://www.amazon.com/ Amazon
v.m|v\:math: vimium://math\ $S re= Calculate
gh|github: https://github.com/search?q=$s \
blank=https://github.com/ GitHub Repo
js\:|Js: javascript:\ $S; JavaScript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment