Skip to content

Instantly share code, notes, and snippets.

@madmod
Last active April 7, 2016 17:58
Show Gist options
  • Save madmod/c21256e32b764062d1496c7394d53d7e to your computer and use it in GitHub Desktop.
Save madmod/c21256e32b764062d1496c7394d53d7e to your computer and use it in GitHub Desktop.
My cvim config
" Settings
set nohud
" set nosmoothscroll
" set noautofocus "The opposite of autofocus; this setting stops sites from focusing on an input box when they load
"set typelinkhints
"set cncpcompletion
" let hintcharacters = ";HKLYUIONM,WERTXCVBASDGJF"
let hintcharacters = "asdfghjkl;qweruiop"
let completionengines = ["duckduckgo", "google", "amazon", "imdb", "dogpile"]
let defaultengine = "duckduckgo"
let searchalias g = "google"
let searchalias a = "amazon"
let searchalias d = "duckduckgo"
let qmark a = ["http://www.reddit.com/r/vive", "http://www.theverge.com", "https://news.ycombinator.com", "https://forum.waytools.com/latest", "https://www.massdrop.com/transactions"]
let mapleader = ","
" Mappings
map <Leader>b :buffer<Space>
map <Leader>r reloadTabUncached
map <Leader>x :restore<Space>
map gb :buffer<Space>
map <C-h> :set hud!<CR>
map <C-i> :set numerichints!<CR>
map <C-u> rootFrame
" Insert mode
imap <C-a> beginningOfLine
imap <C-e> endOfLine
imap <C-u> deleteToBeginning
imap <C-k> deleteToEnd
imap <C-w> deleteWord
imap <C-f> forwardChar
imap <C-b> backwardChar
map <C-n> nextCompletionResult
imap <C-n> nextCompletionResult
map u lastClosedTab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment