Skip to content

Instantly share code, notes, and snippets.

@whatsthebeef
Last active September 27, 2019 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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