summaryrefslogtreecommitdiff
path: root/.Xresources
blob: d8dfa45887d30dcf297e7722ceac8a411f48b17a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
!!!!
! urxvt config
!!!!
URxvt.font: xft:Inconsolata:size=11,xft:Monospace:size=11

! display icon
! URxvt.iconFile:  /usr/share/icons/hicolor/scalable/apps/Terminal.svg

! nice scrollbar
URxvt.scrollstyle: plain
URxvt.scrollBar_right: true
URxvt.saveLines: 5000

! scroll back on keypress
URxvt.scrollTtyKeypress: true

! enable scrollwheel in secondary screens (man, less, ...)
URxvt.secondaryWheel: true
URxvt.secondaryScroll: false

! scroll one line with Shift-{Up,Down}
URxvt.keysym.Shift-Up: command:\033]720;1\007
URxvt.keysym.Shift-Down: command:\033]721;1\007

! perl-modules
URxvt.perl-lib: HOME/.urxvt/extensions/
URxvt.perl-ext-common:  default,url-select,clipboard,selection-autotransform,wgetpaste,cwd-spawn

! allow Alt-V/-C for pasting from/copying to clipboard
URxvt.keysym.M-v: perl:clipboard:paste
URxvt.keysym.M-c: perl:clipboard:copy

! open new urxvt(c) starting in current dir with M-Return
URxvt.keysym.M-Return: perl:cwd-spawn

! url-select via M-u
URxvt.url-select.launcher:  HOME/bin/openlink
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.url-select.underline: true

! transform selections of <filename>:<line> into a vim cmdline
URxvt.selection-autotransform.0: s/^([^:[:space:]]+):(\\d+):?$/vim +$2 \\Q$1\\E\\x0d/

! colors
URxvt.background: #000000
URxvt.foreground: #FFFFFF

!black
URxvt.color0:  #000000
URxvt.color8:  #555555
!red
URxvt.color1:  #AA0000
URxvt.color9:  #FF5555
!green
URxvt.color2:  #00AA00
URxvt.color10: #55FF55
!yellow
URxvt.color3:  #AA5500
URxvt.color11: #FFFF55
!blue
URxvt.color4:  #0000AA
URxvt.color12: #5555FF
!magenta
URxvt.color5:  #AA00AA
URxvt.color13: #FF55FF
!cyan
URxvt.color6:  #00AAAA
URxvt.color14: #55FFFF
!white
URxvt.color7:  #AAAAAA
URxvt.color15: #FFFFFF