Skip to content

Instantly share code, notes, and snippets.

@yamaya
Last active January 19, 2017 09:36
Show Gist options
  • Save yamaya/ae1f8e0ae783a8fafaafb75b191a81f0 to your computer and use it in GitHub Desktop.
Save yamaya/ae1f8e0ae783a8fafaafb75b191a81f0 to your computer and use it in GitHub Desktop.
sVimrc
let scrollduration = 20
let blacklists = ["*://reader.livedwango.com/reader/*", "*://(mail|calendar).google.com/*", "*://www.apple.com/jp/shop/*", "*://www.jtb.co.jp/*", "*://secure.j-bus.co.jp/*", "*://twitter.com/*", "*://*.starbucks.co.jp/*", "*://www.tumblr.com/blog/*", "*://logentries.com/app/*", "*://eexpress.jp/*", "*://kcw.kddi.ne.jp/*"]
let nextmatchpattern = "((?!first)(next( page)?|older|more|>|›|»|forward|次へ| )+)"
let previousmatchpattern = "((?!last)(prev(ious)?( page)?|newer|back|«|less|<|‹|前へ| )+)"
unmapAll
map "j" scrollPageDown
map "k" scrollPageUp
map "ctrl+f" scrollFullPageDown
map "ctrl+b" scrollFullPageUp
map "f" createHint
map "shift+f" createTabbedHint
map "g i" goToInput
map "x" quit
map "i" insertMode
map "ctrl+n" nextTab
map "ctrl+p" previouseTab
map "g g" scrollToTop
map "shift+g" scrollToBottom
map "shift+h" goBack
map "shift+l" goForward
map "] ]" nextMatchPattern
map "[ [" previousMatchPattern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment