wfxr
7/5/2017 - 2:13 AM

cvim config file

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
}