Skip to content

Instantly share code, notes, and snippets.

@ashwin
Created July 27, 2017 13:09
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 ashwin/adfb351686f0934ec25c4ed1c9a7d5d6 to your computer and use it in GitHub Desktop.
Save ashwin/adfb351686f0934ec25c4ed1c9a7d5d6 to your computer and use it in GitHub Desktop.
My ~/.Xresources config for xterm
! =============================================================================
! XTerm settings
! =============================================================================
! Use white-on-black colors
XTerm.vt100.reverseVideo: true
UXTerm.vt100.reverseVideo: true
! XTerm already has 256 colors support
! We ask it to set the correct $TERM
XTerm.termName: xterm-256color
UXTerm.termName: xterm-256color
! Start with maximized window
xterm*maximized: true
! Make Alt key behave like in other terminals
XTerm.vt100.metaSendsEscape: true
UXTerm.vt100.metaSendsEscape: true
! Number of lines to save for scrolling
XTerm.vt100.saveLines: 100000
UXTerm.vt100.saveLines: 100000
! Increase-decrease font size using Ctrl-/+
xterm*VT100.Translations: #override \
Ctrl <Key> minus: smaller-vt-font() \n\
Ctrl <Key> plus: larger-vt-font()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment