Skip to content

Instantly share code, notes, and snippets.

@jrwdexter
Last active September 29, 2016 13:07
Show Gist options
  • Save jrwdexter/e942433396e248bd0d36 to your computer and use it in GitHub Desktop.
Save jrwdexter/e942433396e248bd0d36 to your computer and use it in GitHub Desktop.
My cVimrc
" Hint searching
set numerichints
set typelinkhints
" Position bar at bottom like vimperator
let barposition = "bottom"
" Use <C-d> and <C-u> to scroll like in vimperator
map <C-u> scrollPageUp
map <C-d> scrollPageDown
" Use d for closing tab and u for undo close tab
" like in vimperator
unmap d
unmap u
map d closeTab
map u lastClosedTab
map <A-d> :call closeTabsToLeft<CR>|:call closeTabsToRight<CR>
"Map saving
map <C-s> fsave<CR>
" Copy url with y
map yy yankDocumentUrl
" reverse bookmark / buffer binding
map b :buffer<Space>
map B :bookmarks<Space>
" Add default tab navigation
map <C-n> nextTab
map <C-p> previousTab
let blacklists = ["https://inbox.google.com/* c / i q t z r a s # n p e j k ? <CR>", "https://mail.google.com/* c / i q t z r a s # n p e j k ? <CR>"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment