Skip to content

Instantly share code, notes, and snippets.

@gmdfalk
Last active August 29, 2015 14:14
Show Gist options
  • Save gmdfalk/a106e5bf5c969d035719 to your computer and use it in GitHub Desktop.
Save gmdfalk/a106e5bf5c969d035719 to your computer and use it in GitHub Desktop.
cVim config 0.0.2
" 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
let searchlimit = 30
let scrollstep = 70
let barposition = "bottom"
let locale = "uk"
let hintcharacters = "abc123"
let searchengine googlede = "https://www.google.de/?gws_rd=sll#q=%s"
let searchengine ebay = "www.ebay.de/sch/%s"
let completionengines = ["google", "googlede", "amazon", "imdb", "ebay"]
let searchalias g = "google"
let searchalias gg = "googlede"
let searchalias ams = "amazon"
let searchalias ebs = "ebay"
let searchalias ims = "imdb"
" Open all of these in a tab with `gnn` or open one of these with <N>gon where <N>
let qmark n = ["arstechnica.com", "heise.de", "faz.de", "sz.de", "zeit.de"]
let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*"]
let mapleader = ","
" Mappings
map <Leader>r reloadTab
map <Leader>R reloadTabUncached
map <Leader>x :restore<Space>
map <Leader>t :duplicate<CR>
map <C-p> previousTab
map <C-n> nextTab
map j scrollPageDown
map k scrollPageUp
map d closeTab
map u lastClosedTab
unmap C
unmap V
map C :tabdetach<CR>
map V :tabattach 1<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment