Skip to content

Instantly share code, notes, and snippets.

@HeLiBloks
Last active January 4, 2017 15:24
Show Gist options
  • Save HeLiBloks/6a16c7fe2862e03948b4cc9d52de71d4 to your computer and use it in GitHub Desktop.
Save HeLiBloks/6a16c7fe2862e03948b4cc9d52de71d4 to your computer and use it in GitHub Desktop.
my cVimrc
set autoupdategist
set noautofocus
"set nocncpcompletion
set smoothscroll
set hud
set typelinkhints
set defaultnewtabpage
let scrollduration = 10
let searchlimit = 40
let searchalias g = "google"
let mapleader = ","
let barposition = "bottom"
let typelinkhintsdelay = "0"
let hintcharacters = "äöfdsawåerjkiopotn"
map : openCommandBar
map ö openCommandBar
map e nextTab
map w 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 gi goToInput
map u lastClosedTab
map <C-z> toggleCvim
map <Insert> toggleCvim
map d closeTab
" Insert mode
imap <C-a> beginningOfLine
imap <C-e> endOfLine
imap <C-u> deleteToBeginning
imap <C-k> deleteToEnd
imap <C-h> deleteChar
imap <C-w> deleteWord
imap <C-f> forwardChar
imap <C-b> backwardChar
imap <C-p> <Up>
imap <C-n> <Down>
site "https://mail.google.com/*" {
unmapAll
}
let blacklists = ["*://*/*.pdf", "chrome://*", "https://mail.google.com/*", "https://www.google.com/calendar/*"]
command restart chrome://restart<CR>
command gmail open https://mail.google.com/mail/u/0/#inbox<CR>
command sheet open https://docs.google.com/spreadsheets/u/0/<CR>
command vimrc open https://gist.github.com/HeLiBloks/6a16c7fe2862e03948b4cc9d52de71d4/edit<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment