Skip to content

Instantly share code, notes, and snippets.

@collegeimprovements
Last active August 15, 2017 13:13
Show Gist options
  • Save collegeimprovements/7ceb931e9feb00230dd3 to your computer and use it in GitHub Desktop.
Save collegeimprovements/7ceb931e9feb00230dd3 to your computer and use it in GitHub Desktop.
map l nextTab
map s previousTab
let mapleader = "<Space>"
map <Leader>gh :tabnew& https://github.com/collegeimprovements<CR>
map <Leader>Gh :open https://github.com/collegeimprovements<CR>
set dimhintcharacters
" auto-highlighting find mode matches when input length is greater thant two
set incsearch
" show the heads-up-display
set hud
" use regexp in find mode
set regexp
" ignore search case in find mode
set ignorecase
" case-insensitive find mode searches except when input contains a capital letter
set smartcase
let blacklists = ["https://inbox.google.com/*", "http://feedly.com/*"]
" add a persistent QuickMark (e.g. let qmark a = ["http://google.com", "http://reddit.com"])
let qmark a = ["http://google.com", "http://reddit.com"]
set nocncpcompletion
map <Leader>cl :tabopen chrome://chrome/settings/clearBrowserData<CR>
map <Leader>ex :tabopen chrome://extensions<CR>
map <Leader>rp :bookmarks rp
map <Leader>m lastUsedTab
let barposition = "bottom"
" the highlight color in find mode
let highlight = "#ffff00"
" full page scroll percent
let fullpagescrollpercent = 85
" this will enable the config block below on the domain 'reddit.com'
site '*://*.google.*/search*' {
unmap j
unmap k
}
site '*://*.reddit.com/*' {
unmap j
unmap k
unmap x
unmap :
set numerichints
}
" use smooth scrolling
set smoothscroll
" integer the duration of smooth scrolling
let scrollduration = 1000
" number of pixels scrolled when using scrollUp and scrollDown
let scrollstep = 200
"*****************************************************
"Control, meta, and alt can be used also:
"<C-u> " Ctrl + u
"<M-u> " Meta + u
"<A-u> " Alt + u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment