Skip to content

Instantly share code, notes, and snippets.

@dougcosine
Last active December 29, 2016 23:19
Show Gist options
  • Save dougcosine/27d1dc25ac16fcd0804e to your computer and use it in GitHub Desktop.
Save dougcosine/27d1dc25ac16fcd0804e to your computer and use it in GitHub Desktop.
My cVimrc
let hintcharacters = "uhetidonas"
let nextmatchpattern = "[fF]orward"
let previousmatchpattern = "[bB]ack"
let mapleader = "<Space>"
let barposition = "bottom"
let blacklists = ["https://web.whatsapp.com/*"]
set autohidecursor
set autoupdategist
set nosmoothscroll
set defaultnewtabpage
map <leader>k gt
map <leader>j gT
map <leader>n ]]
map <leader>N [[
unmap K
unmap J
map <leader>t :tabnew<space>
map <leader>a :tabnew<space>google<space>
map a :open<space>google<space>
map <leader>ek :tabnew<space>https://gist.github.com/dougcosine/27d1dc25ac16fcd0804e/edit<cr>
map <leader>ok :tabnew<space>chrome-extension://ihlenndgcmojhcghmfjfneahoeklbjjh/pages/options.html<cr>
unmap t
map F createActiveTabbedHint
map <leader>f createTabbedHint
map ; :
"mapping setMark doesn't seem to work ;(
"but I don't mark things much anyway
"map m setMark
map ze zoomOrig
map zu toggleImageZoom
map <leader>x closeTab
map <leader>X lastClosedTab
unmap x
unmap X
" github has 't' mapped to open its 'File Finder' page
" so we need to remove it from our link hints
site '*://*.github.com/*' {
let hintcharacters = "uheidonas"
}
site '*://github.com/*' {
let hintcharacters = "uheidonas"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment