Skip to content

Instantly share code, notes, and snippets.

@wfxr
Last active July 29, 2017 01:56
Show Gist options
  • Select an option

  • Save wfxr/0962f6a0d92db13d99d619087fc14941 to your computer and use it in GitHub Desktop.

Select an option

Save wfxr/0962f6a0d92db13d99d619087fc14941 to your computer and use it in GitHub Desktop.
cvim config file
set autoupdategist
set noautofocus
set smoothscroll
set hud
set noregex
set noinsertmappings
set typelinkhints
set defaultnewtabpage
set cncpcompletion
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
" 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 u lastClosedTab
map <Leader>r reloadTabUncached
map <Leader>cl :tabopen chrome://chrome/settings/clearBrowserData<CR>
map <Leader>ex :tabopen chrome://extensions<CR>
map <Leader>gh :tabopen https://github.com/wfxr<CR>
map <Leader>Gh :open https://github.com/wfxr<CR>
map <Leader>gi :tabopen https://gist.github.com/wfxr<CR>
map <Leader>Gi :open https://gist.github.com/wfxr<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