Last active
April 30, 2020 08:52
-
-
Save ixzh/b27c496b0e69a4c6d94db9977abe7be4 to your computer and use it in GitHub Desktop.
cvimrc
This file contains hidden or 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
set hud | |
set regexp | |
set ignorecase | |
set smartcase | |
set nolinkanimations | |
set nonumerichints | |
set typelinkhints | |
let hintcharacters = "asdfgqwertzxcvb" | |
set dimhintcharacters | |
set nodefaultnewtabpage | |
set insertmappings | |
set autoupdategist | |
set nonativelinkorder | |
" time to wait for a <Leader> mapping in (millis) | |
let timeoutlen = 1000 | |
" use smooth scrolling | |
set nosmoothscroll | |
" integer the duration of smooth scrolling | |
let scrollduration = 1000 | |
" number of pixels scrolled when using scrollUp and scrollDown | |
let scrollstep = 125 | |
" full page scroll percent | |
let fullpagescrollpercent = 85 | |
" use only the specified search engines | |
let completionengines = [] | |
let defaultengine = "google" | |
set noautofocus | |
let barposition = "top" | |
let highlight = "#ffff00" | |
let activehighlight = "#ff9632" | |
" the pattern looked for when navigating a page's back button | |
let previousmatchpattern = "((?!last)(prev(ious)?|back|«|less|<|‹|<|←|«|≪|<<)+)" | |
" the pattern looked for when navigation a page's next button | |
let nextmatchpattern = "((?!first)(next|more|>|›|»|forward|>|→|»|≫|>>)+)" | |
imap <C-k> deleteToEnd | |
unmap . | |
map j gT | |
map k gt | |
map h g0 | |
map l g$ | |
map q lastClosedTab | |
map gb lastUsedTab | |
let mapleader=',' | |
map <Leader>s :chrome://settings<CR> | |
let searchengine stackoverflow = "http://stackoverflow.com/search?q=" | |
let searchalias s = "stackoverflow" | |
let searchengine youtube = "http://www.youtube.com/results?search_query=%s" | |
let searchalias y = "youtube" | |
let searchengine wikien = "http://en.wikipedia.org/wiki/Special:Search?search=%s" | |
let searchalias w = "wikien" | |
let searchengine wikizh = "http://zh.wikipedia.org/wiki/Special:Search?search=%s" | |
let searchalias wz = "wikizh" | |
let searchengine zhihu = "https://www.zhihu.com/search?type=content&q=%s" | |
let searchalias z = "zhihu" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment