Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add XTerm settings

  • Loading branch information...
commit f48845325e85d95b76bb212396d1874aaea2f52f 1 parent 7d0091d
@clvv authored
Showing with 95 additions and 24 deletions.
  1. +95 −24 .Xresources
View
119 .Xresources
@@ -1,4 +1,35 @@
-!URxvt Fonts
+! URxvt
+
+! General settings
+URxvt.saveLines: 2000
+URxvt.scrollBar: False
+URxvt.scrollstyle: rxvt
+URxvt.termName: XTerm-256color
+URxvt.urgentOnBell: True
+URxvt.cursorBlink: False
+
+! Extensions
+URxvt.perl-ext-common: default,clipboard,keyboard-select,url-select
+URxvt.urlLauncher: xdg-open
+URxvt.urlButton: 1
+URxvt.underlineURLs: True
+
+URxvt.copyCommand: xclip -i -selection clipboard
+URxvt.pasteCommand: xclip -o -selection clipboard
+
+! Keybindings
+URxvt.keysym.Mod4-c: perl:clipboard:copy
+URxvt.keysym.Mod4-v: perl:clipboard:paste
+URxvt.keysym.Mod4-C-v: perl:clipboard:paste_escaped
+URxvt.keysym.M-c: perl:clipboard:copy
+URxvt.keysym.M-v: perl:clipboard:paste
+URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
+URxvt.keysym.M-Escape: perl:keyboard-select:activate
+URxvt.keysym.C-Escape: perl:keyboard-select:activate
+URxvt.keysym.M-u: perl:url-select:select_next
+
+! Fonts
+
!Courier
!URxvt.font: xft:Courier-10
@@ -34,6 +65,8 @@ URxvt.letterSpace: -1
!Terminus
!URxvt.font: xft:Terminus-10
+! Tango theme
+
URxvt.background: #1C1C1C
URxvt.foreground: #DEDEDE
@@ -62,29 +95,67 @@ URxvt.color14 : #34E2E2
URxvt.color7 : #D3D7CF
URxvt.color15 : #EEEEEC
-URxvt.saveLines: 2000
-URxvt.scrollBar: false
-URxvt.scrollstyle: rxvt
-URxvt.termName: xterm-256color
-URxvt.urgentOnBell: True
-URxvt.cursorBlink: True
+! XTerm
-!URxvt.perl-lib: lib/urxvt-perls
-URxvt.perl-ext-common: default,clipboard,keyboard-select,url-select
-URxvt.urlLauncher: xdg-open
-URxvt.urlButton: 1
-URxvt.underlineURLs: true
-!URxvt.colorUL: #3465A4
+! General settings
+XTerm*termName: xterm-256color
+XTerm*geometry: 80x24
+XTerm*saveLines: 1024
+XTerm*scrollBar: False
+XTerm*loginshell: False
+XTerm*cursorBlink: False
-URxvt.copyCommand: xclip -i -selection clipboard
-URxvt.pasteCommand: xclip -o -selection clipboard
+! Fonts and Encoding
+XTerm*utf8: True
+XTerm*locale: True
+XTerm*utf8Title: True
+XTerm*renderFont: True
+XTerm*preeditType: Root
+XTerm*xftAntialias: true
+XTerm*faceName: xft:Inconsolata-12
+
+! Trim trailing spaces
+XTerm*trimSelection: true
+
+! Fix alt-key inputting
+XTerm*eightBitInput: false
+XTerm*metaSendsEscape: true
+
+! Copy and paste with clipboard
+XTerm*translations: #override \
+ Ctrl Shift <KeyPress> C: copy-selection(CLIPBOARD) \n\
+ Ctrl Shift <KeyPress> V: insert-selection(CLIPBOARD)
+
+! Allow selecting email/url by double-click
+XTerm*charClass: 33:48,37-38:48,45-47:48,64:48,58:48,126:48,61:48,63:48,43:48,35:48
+
+! Tango Theme
+
+XTerm*background: #1C1C1C
+XTerm*foreground: #DEDEDE
+
+! black
+XTerm*color0 : #2E3436
+XTerm*color8 : #555753
+! red
+XTerm*color1 : #CC0000
+XTerm*color9 : #EF2929
+! green
+XTerm*color2 : #4E9A06
+XTerm*color10 : #8AE234
+! yellow
+XTerm*color3 : #C4A000
+XTerm*color11 : #FCE94F
+! blue
+XTerm*color4 : #3465A4
+XTerm*color12 : #729FCF
+! magenta
+XTerm*color5 : #75507B
+XTerm*color13 : #AD7FA8
+! cyan
+XTerm*color6 : #06989A
+XTerm*color14 : #34E2E2
+! white
+XTerm*color7 : #D3D7CF
+XTerm*color15 : #EEEEEC
-URxvt.keysym.Mod4-c: perl:clipboard:copy
-URxvt.keysym.Mod4-v: perl:clipboard:paste
-URxvt.keysym.Mod4-C-v: perl:clipboard:paste_escaped
-URxvt.keysym.M-c: perl:clipboard:copy
-URxvt.keysym.M-v: perl:clipboard:paste
-URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
-URxvt.keysym.M-Escape: perl:keyboard-select:activate
-URxvt.keysym.C-Escape: perl:keyboard-select:activate
-URxvt.keysym.M-u: perl:url-select:select_next
Please sign in to comment.
Something went wrong with that request. Please try again.