Skip to content

Instantly share code, notes, and snippets.

@mbbx6spp
Last active November 25, 2016 23:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbbx6spp/bee78b6b4964c9d151db8e1aa838f0d2 to your computer and use it in GitHub Desktop.
Save mbbx6spp/bee78b6b4964c9d151db8e1aa838f0d2 to your computer and use it in GitHub Desktop.
Minimal keyboard shortcut bindings for increasing and decreasing font size in URxvt
!! Things to include in your ~/.Xdefaults
! Ensure font-size is included in your URxvt.perl-ext comma separated list of extensions, like below
URxvt.perl-ext: default,matcher,fullscreen,font-size,url-select,selection-to-clipboard
! specify the step font-size for incrementing and decrementing
URxvt.font-size.step: 1
! Bind Ctrl+Up and Ctrl+Down to font increment and decrement respectively
URxvt.keysym.C-Up: perl:font-size:incglobal
URxvt.keysym.C-Down: perl:font-size:decglobal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment