Skip to content

Instantly share code, notes, and snippets.

@whatsthebeef
Last active September 27, 2019 09:10
Show Gist options
  • Save whatsthebeef/61b7d1702bec8fbf438e3bf755df8959 to your computer and use it in GitHub Desktop.
Save whatsthebeef/61b7d1702bec8fbf438e3bf755df8959 to your computer and use it in GitHub Desktop.
set smoothscroll
set noautofocus
set autoupdategist
let scrollstep = 100
let scrollduration = 10
let mapleader = ','
unmap h
map h goBack
unmap l
map l <CR>
unmap q
map q :quit<CR>
map <C-f> scrollPageDown
map <C-b> scrollPageUp
map <Leader>t :buffer<Space>
let blacklist = []
site '*://mail.google.com/*' {
unmap j
unmap k
}
site '*://duckduckgo.com/*' {
unmap j
unmap k
}
let qmark m = 'https://mail.google.com/mail/u/0/#inbox'
let qmark h = 'https://github.com/1995eaton/chromium-vim/blob/master/README.md'
let qmark c = 'https://gist.github.com/whatsthebeef/61b7d1702bec8fbf438e3bf755df8959/edit'
let qmark t = 'https://translate.google.com/#en|tr'
let qmark e = 'https://translate.google.com/#tr|en'
let qmark g = 'https://github.com/whatsthebeef'
let defaultengine = 'google'
let searchengine stack = 'http://stackoverflow.com/search?q=%s'
let searchengine mail = 'https://mail.google.com/mail/u/0/#search/%s'
let searchengine amaz = 'https://www.amazon.co.uk/s/ref=nb_sb_noss_2?field-keywords=%s'
let searchengine maps = 'https://www.openstreetmap.org/search?query=%s'
let searchengine tren = 'https://translate.google.com/#tr|en|%s'
let searchengine entr = 'https://translate.google.com/#en|tr|%s'
let completionengines = ['google', 'duckduckgo', 'amaz', 'wikipedia', 'youtube', 'imdb', 'google-maps', 'google-image', 'youtube', 'mail', 'stack', 'maps', 'tren', 'entr']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment