Skip to content

Instantly share code, notes, and snippets.

@devnall
Last active October 24, 2018 15:53
Show Gist options
  • Save devnall/26cac70fe1e8aa0cba4e99044d82f843 to your computer and use it in GitHub Desktop.
Save devnall/26cac70fe1e8aa0cba4e99044d82f843 to your computer and use it in GitHub Desktop.
Config for Safari sVim extension
" Settings
let newtaburl = "https://www.duckduckgo.com/";
let homeurl = "https://www.duckduckgo.com/";
map "shift+d" scrollHalfPageDown
map "shift+u" scrollHalfPageUp
let blacklists = ["*://mail.google.com/*"]
" Unmap defaults
unmap "e"
unmap "shift+e"
unmap "g ?"
unmap "g t"
unmap "g shift+t"
unmap "g 0"
unmap "g $"
unmap "g x shift+t"
unmap "g x t"
unmap "g x 0"
unmap "g x $"
unmap "shift+,"
unmap "shift+."
" Keybinds
map "down" scrollDown
map "up" scrollUp
map "left" scrollLeft
map "right" scrollRight
map "space" scrollFullPageDown
map "shift+d" scrollFullPageDown
map "shift+u" scrollFullPageUp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment