Skip to content

Instantly share code, notes, and snippets.

@marcusramberg
Forked from calorie/.cvimrc
Last active February 17, 2019 09:34
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save marcusramberg/5761eff70d5dc49379f4 to your computer and use it in GitHub Desktop.
Save marcusramberg/5761eff70d5dc49379f4 to your computer and use it in GitHub Desktop.
My cvimrc
set autoupdategist
set noautofocus
set nocncpcompletion
set smoothscroll
set hud
set noregex
set noinsertmappings
set typelinkhints
set defaultnewtabpage
let scrollduration = 10
let searchlimit = 40
let searchalias g = "google"
let mapleader = "\\"
let barposition = "bottom"
let typelinkhintsdelay = "0"
let hintcharacters = "fdsawerjkiop"
map : openCommandBar
map l nextTab
map h previousTab
map <C-l> nextTab
map <C-h> previousTab
map <C-f> scrollFullPageDown
map <C-b> scrollFullPageUp
map F createActiveTabbedHint
map f createHint
map p openPasteTab
map P openPaste
map S :open google<Space>
map s :tabnew google<Space>
map i goToInput
map u lastClosedTab
map <C-z> toggleCvim
map <Leader>cl :tabopen chrome://chrome/settings/clearBrowserData<CR>
map <Leader>ex :tabopen chrome://extensions<CR>
map <Leader>gh :tabopen https://github.com/marcusramberg<CR>
map <Leader>Gh :open https://github.com/marcusramberg<CR>
map <Leader>gi :tabopen https://gist.github.com/marcusramberg<CR>
map <Leader>Gi :open https://gist.github.com/marcusramberg<CR>
map <Leader>tw :tabopen http://twitter.com<CR>
map <Leader>Tw :open http://twitter<CR>
map <Leader>gm :tabopen https://mail.google.com/mail/#index<CR>
map <Leader>Gm :open https://mail.google.com/mail/#index<CR>
map <Leader>so :tabopen http://stackoverflow.com<CR>
map <Leader>So :open http://stackoverflow.com<CR>
map <Leader>pi :tabopen http://pinboard.in/<CR>
map <Leader>Pi :open http://pinboard.in<CR>
map <Leader>fb :tabopen http://www.facebook.com<CR>
map <Leader>Fb :open http://www.facebook.com<CR>
map <Leader>hn :tabopen http://news.ycombinator.com/<CR>
map <Leader>Hn :open http://news.ycombinator.com/<CR>
map <Leader>pl :tabopen http://plex.tv/web/app/<CR>
map <Leader>Pl :open http://plex.tv/web/app/<CR>
map <Leader>co :tabopen http://demo.convos.by/<CR>
map <Leader>Co :open http://demo.convos.by/<CR>
map <Leader>mc :tabopen http://chat.meatspac.es/*<CR>
map <Leader>Mc :open http://chat.meatspac.es<CR>
site '*://chat.meatspac.es/*' {
call :pintab
}
site "https://mail.google.com/*" {
unmapAll
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment