-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Xresources.powershell
102 lines (79 loc) · 3 KB
/
.Xresources.powershell
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
! XTerm configuration with Windows Powershell style colors and fonts.
! Colors:
xterm*vt100.background: #012456
xterm*vt100.foreground: #eeedf0
xterm*vt100.color0: #000000
xterm*vt100.color1: #800000
xterm*vt100.color2: #008000
xterm*vt100.color3: #808000
xterm*vt100.color4: #000080
xterm*vt100.color5: #800080
xterm*vt100.color6: #008080
xterm*vt100.color7: #c0c0c0
xterm*vt100.color8: #808080
xterm*vt100.color9: #ff0000
xterm*vt100.color10: #00ff00
xterm*vt100.color11: #ffff00
xterm*vt100.color12: #0000ff
xterm*vt100.color13: #ff00ff
xterm*vt100.color14: #00ffff
xterm*vt100.color15: #ffffff
! Define xterm colors > "xterm-256color, xterm-16color, xterm-mono"
xterm.termName: xterm-256color
! Ensure using UTF-8
! xterm.vt100.locale: true
! Force UTF-8
xterm.vt100.locate: false
xterm.vt100.utf8: true
! Set default xterm window size:
xterm*vt100.geometry: 80x24
! Initial font size (ctrl+right click VT fonts menu > 0:default 1:unreadable 2:tiny 3:small 4:medium 5:large 6:huge 7:enormous):
xterm*vt100.initialFont: 0
! Enable/Disable TrueType fonts:
xterm*vt100.renderFont: false
! Default font and size:
xterm*vt100.faceName: Consolas
xterm*vt100.faceSize: 12
! Chinese fonts:
xterm*vt100.faceNameDoublesize: AR PL UMing HK
! Enable Right-side scrollbar:
xterm*vt100.ScrollBar: true
xterm*vt100.rightScrollBar: true
xterm*vt100.leftScrollBar: false
xterm.vt100.scrollbar.width: 15
! Scrollbacks:
xterm*vt100.savelines: 16384
! Stop output to terminal from jumping down to bottom of scroll again:
xterm*vt100.scrollTtyOutput: false
! Cursor blink enable:
xterm*vt100.cursorBlink: true
! Enable clipboard:
xterm*vt100.selectToClipboard: true
! Double-click to select whole word and URLs:
xterm*vt100.charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
! Right Click for paste instead of middle button / Ctrl-C to copy, Ctrl-V to paste / Ctrl-M to maximize, Ctrl-R to restore terminal window
xterm*vt100.translations: #override \n\
~Ctrl ~Meta <Btn3Down>: ignore() \n\
Meta <Btn3Down>: clear-saved-lines() \n\
~Ctrl ~Meta <Btn3Up>: insert-selection(SELECT, CUT_BUFFER0) \n\
~Ctrl ~Meta <Btn2Down>: start-extend() \n\
Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
Ctrl <Key>M: maximize() \n\
Ctrl <Key>R: restore() \n\
! Enable <Alt> key combination:
xterm*vt100.metaSendsEscape: true
! Make <Alt> work:
xterm*vt100.eightBitInput: false
xterm*vt100.eightBitOutput: true
! Fix backspace key
xterm.vt100.backarrowKey: false
xterm.ttyModes: erase ^?
! Every shell is a login shell by default (for inclusion of all necessary environment variables):
xterm*vt100.loginshell: true
! Specifies the number of pixels between the characters and the window border. The default is 2.
xterm*vt100.internalBorder: 2
! ##############################################################
! "xrdb -query > current_X_resources" --> view current X resources
! "xrdb -load ~/.Xresources" --> load and replace old entries
! "xrdb -merge ~/.Xresources" --> merges with any existing X resources