Skip to content

Instantly share code, notes, and snippets.

@brett
Forked from jrwdexter/.cVimrc
Last active July 18, 2016 04:25
Show Gist options
  • Save brett/c35becd52999322b9069da345d89c195 to your computer and use it in GitHub Desktop.
Save brett/c35becd52999322b9069da345d89c195 to your computer and use it in GitHub Desktop.
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