Skip to content

Instantly share code, notes, and snippets.

@peidong
Last active December 11, 2016 01:23
Show Gist options
  • Save peidong/44ed75c61e4e939a3288 to your computer and use it in GitHub Desktop.
Save peidong/44ed75c61e4e939a3288 to your computer and use it in GitHub Desktop.
set smoothscroll
let fullpagescrollpercent = 85
let lastactivetablimit = 50
let lastclosedtablimit = 50
let scrollduration = 30
let scrollstep = 60
let zoomstep = 10
let hintcharacters = "asdfgqwertzxcvb"
let homeurl = "http://google.com"
let mapleader = ";"
let newtaburl = "http://google.com"
let blacklists = ["*://example.com/stuff/*", "*://mail.google.com/*"]
map "down" scrollDown
map "up" scrollUp
map "left" scrollLeft
map "right" scrollRight
map "space" scrollFullPageDown
map "k" scrollPageUp
map "j" scrollPageDown
map "u" scrollFullPageUp
map "d" scrollFullPageDown
site '*://mail.google.com/*' {
unmap j
unmap k
unmap x
}
site '*://www.sharelatex.com/*' {
unmap <Esc>
}
site '*://agar.io/*' {
unmap w
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment