Last active
May 28, 2016 11:09
-
-
Save cranehuang/88fa3102f658b69b01b0a72d3a383971 to your computer and use it in GitHub Desktop.
This file contains 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
" 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 searchlimit = 30 | |
let scrollstep = 70 | |
let barposition = "bottom" | |
let locale = "uk" | |
" let hintcharacters = ";HKLYUIONM,WERTXCVBASDGJF" | |
let hintcharacters = "hi crane" | |
let completionengines = ["google", "amazon", "imdb", "dogpile"] | |
let searchalias g = "google" "Create a shortcut for search engines. For example, typing ':tabnew g example' would act the same way as ':tabnew google example' | |
let qmark a = ["http://www.reddit.com", "http://www.google.com", "http://twitter.com"] "Open all of these in a tab with `gnb` or open one of these with <N>goa where <N> | |
" let blacklists = ["https://mail.google.com/*", "*://*.reddit.com/*"] | |
let mapleader = "," | |
" Mappings | |
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 | |
unmap t | |
map tt :tabnew<Space> | |
map tl gt | |
map th gT | |
" 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