Skip to content

Instantly share code, notes, and snippets.

@sam33r
Last active September 8, 2017 22:58
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 sam33r/0604e60552058c8aa2158d27524e9690 to your computer and use it in GitHub Desktop.
Save sam33r/0604e60552058c8aa2158d27524e9690 to your computer and use it in GitHub Desktop.
cVim config
" Settings
set noautofocus " The opposite of autofocus; this setting stops
" sites from focusing on an input box when they load
set typelinkhints
let searchlimit = 30
let scrollstep = 70
let barposition = "bottom"
let hintcharacters = "fdjkstyghbna"
set smoothscroll
set autoupdategist
set completeonopen
set changelog
set smartcase
set incsearch
set autohidecursor
let completionengines = ["google"]
" let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*", "@https://mail.google.com/mail/*"]
" blacklists prefixed by '@' act as a whitelist
let mapleader = ","
" Mappings
map <Leader>r reloadTabUncached
map <Leader>x :restore<Space>
" You can use <Space>, which is interpreted as a
" literal " " character, to enter buffer completion mode
" map gb :buffer<Space>
"let configpath = '/path/to/your/.cvimrc'
"set localconfig " Update settings via a local file (and the `:source` command) rather
" " than the default options page in chrome
" As long as localconfig is set in the .cvimrc file. cVim will continue to read
" settings from there
map <Leader>e createEditHint
let vimPort=8001
imap <C-o> editWithVim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment