Skip to content

Instantly share code, notes, and snippets.

@rxw1
Last active December 17, 2022 13:24
Show Gist options
  • Save rxw1/26ab64193956d557846c6b497186927f to your computer and use it in GitHub Desktop.
Save rxw1/26ab64193956d557846c6b497186927f to your computer and use it in GitHub Desktop.
cVimrc
site '*://*/*' {
unmap x
unmap p
unmap o
}
site '*://mail.google.com/*' {
unmap e
unmap j
unmap k
unmap c
set numerichints
}
site '*://*.reddit.com/*' {
unmap j
unmap k
set numerichints
}
site '*://*.youtube.com/*' {
unmap k " Toggle play/pause
unmap j " Rewind 10 seconds
unmap l " Fast forward 10 seconds
unmap P " Previous video
unmap N " Next video
unmap comma " Previous frame (while paused)
unmap . " Next frame (while paused)
unmap < " Decrease playback rate
unmap > " Increase playback rate
unmap 0 " Seek to specific point in the video
unmap 1
unmap 2
unmap 3
unmap 4
unmap 5
unmap 6
unmap 7
unmap 8
unmap 9
unmap c " If the video supports captions, toggle captions ON/OFF
unmap o " Rotate through different text opacity levels
unmap w " Rotate through different window opacity levels
unmap f " Toggle full screen
unmap t " Toggle theatre mode
unmap i " Toggle miniplayer
unmap m " Toggle mute
}
site '*://mail.proton.me/*' {
unmap /
unmap a " Move to Archive
unmap d
unmap e
unmap g
unmap i
unmap j " Open next message
unmap k " Open previous message
unmap l
unmap m
unmap n " New message
unmap o " Show original message
unmap r " Mark as read
unmap s " Move to Spam
unmap t " Move to Trash
unmap u " Mark as unread
unmap x " Select / unselect
}
let blacklists = ["*://localhost:*/*","*://cloud.digitalocean.com/droplets/*","*://earth.google.com/*"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment