File: mrxvtrc

package info (click to toggle)
mrxvt 0.5.4-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 3,056 kB
  • ctags: 3,446
  • sloc: ansic: 30,620; sh: 3,345; makefile: 294; perl: 198
file content (313 lines) | stat: -rw-r--r-- 11,067 bytes parent folder | download
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
# ---------------------------------------------------------------------------- #
#
# For an example configuration file, you probably want to look at mrxvtrc.sample
# (provided in /usr/share/doc/mrxvt-common/examples), and not this file.
#
# This is the system wide configuration file for mrxvt (versions 0.5.0 or
# higher). Only resources with application name 'Mrxvt' are read from this file.
# The only resources defined in this file are default macro (formerly hotkey)
# definitions for mrxvt.
#
# Preferably avoid making modifications to this file directly, but make
# modifications to your user config file (~/.mrxvtrc) instead. Remember that
# macros can be deleted by assigning "Dummy" to the keystroke.
#
# Starting mrxvt with --noSysConfig will disable reading this file completely.
#
# ---------------------------------------------------------------------------- #

# ---------------------------------------------------------------------------- #
#
#			       GENERAL SETTINGS
#
# ---------------------------------------------------------------------------- #

Mrxvt.showMenu: true

# Tab bar colors
Mrxvt.itabBackground:	    #101010
Mrxvt.tabBackground:	    #900000
Mrxvt.itabForeground:	    #909090
Mrxvt.tabForeground:	    #9a9a9a

# Scroll bar colors
Mrxvt.scrollColor:      #808080
Mrxvt.troughColor:      #202020

# Cursor
Mrxvt.cursorBlink:      true
Mrxvt.cursorColor:      #00ff00
Mrxvt.cursorColor2:     #000000

# Setup colors for a black background.
Mrxvt.background:    #000000
Mrxvt.foreground:    #ffffff

Mrxvt.color0:        #000000
Mrxvt.color1:        #af0000
Mrxvt.color2:        #00af00
Mrxvt.color3:        #afaf00
Mrxvt.color4:        #0000af
Mrxvt.color5:        #af00af
Mrxvt.color6:        #00afaf
Mrxvt.color7:        #9a9a9a
Mrxvt.color8:        #5f5f5f
Mrxvt.color9:        #d70000
Mrxvt.color10:       #00d700
Mrxvt.color11:       #d7d700
Mrxvt.color12:       #0000d7
Mrxvt.color13:       #d700d7
Mrxvt.color14:       #00d7d7
Mrxvt.color15:       #d7d7d7

# Display bold and underlined text in color, rather than using the terminal
# attributes. This makes reading man pages a little easier.
Mrxvt.colorBD:       #00afaf
Mrxvt.colorUL:       #00af00

# Display the X selection as highlighted instead of using reverse video.
Mrxvt.highlightColor:   #303060

Mrxvt.bottomTabbar:     True
Mrxvt.scrollbarRight:   True

# Default shading to use when run with -tr
Mrxvt.shading:		80

# NOTE: Macros defined with class Mrxvt or XTerm will NOT replace existing
# macros. So user macros will not be replaced.

# ---------------------------------------------------------------------------- #
#
#			       XTERM STYLE MACROS
#
# ---------------------------------------------------------------------------- #
#
# These were previously hardcoded into the source in command.c.
#
Mrxvt.macro.Primary+Shift+Prior:	Scroll -1p
Mrxvt.macro.Primary+Shift+Next:		Scroll +1p

Mrxvt.macro.Shift+Insert:		Paste

Mrxvt.macro.Shift+KP_Add:		ResizeFont +1
Mrxvt.macro.Shift+KP_Subtract:		ResizeFont -1

# Shift F1 -- F10 used to produce F11 -- F20. (This was also hardcoded into the
# source). If desired those can be added here using the Str macro.


# ---------------------------------------------------------------------------- #
#
#		      GNOME TERMINAL STYLE DEFAULT MACROS
#
# ---------------------------------------------------------------------------- #
Mrxvt.macro.Ctrl+Shift+t:		NewTab
Mrxvt.macro.Ctrl+Shift+w:		Close 0
Mrxvt.macro.Add+Ctrl+Shift+w:		ToggleHold -6
Mrxvt.macro.Ctrl+Shift+q:		Close

Mrxvt.macro.Ctrl+Prior:			GotoTab -1
Mrxvt.macro.Ctrl+Next:			GotoTab +1

Mrxvt.macro.Alt+1:			GotoTab 1
Mrxvt.macro.Alt+2:			GotoTab 2
Mrxvt.macro.Alt+3:			GotoTab 3
Mrxvt.macro.Alt+4:			GotoTab 4
Mrxvt.macro.Alt+5:			GotoTab 5
Mrxvt.macro.Alt+6:			GotoTab 6
Mrxvt.macro.Alt+7:			GotoTab 7
Mrxvt.macro.Alt+8:			GotoTab 8
Mrxvt.macro.Alt+9:			GotoTab 9
Mrxvt.macro.Alt+0:			GotoTab 10

Mrxvt.macro.Ctrl+equal:			ResizeFont +1
Mrxvt.macro.Ctrl+minus:			ResizeFont -1

# Instead of having some 1500 macros do the same thing, resize the font in
# increments of 2 for Ctrl+Shift.
Mrxvt.macro.Ctrl+Shift+plus:		ResizeFont +2
Mrxvt.macro.Ctrl+Shift+underscore:	ResizeFont -2

# ---------------------------------------------------------------------------- #
#
#			      KONSOLE STYLE MACROS
#
# ---------------------------------------------------------------------------- #
Mrxvt.macro.Ctrl+Shift+Left:		MoveTab -1
Mrxvt.macro.Ctrl+Shift+Right:		MoveTab +1
#
# Vim uses Shift+Left / Shift+right, so enable these only in the primary screen
#
Mrxvt.macro.Primary+Shift+Left:		GotoTab -1
Mrxvt.macro.Primary+Shift+Right:	GotoTab +1

# We already have a shortcut to open a new tab. Rather make this a shortcut that
# duplicates the current profile.
Mrxvt.macro.Ctrl+Shift+n:		NewTab -

# Clear scroll back and execute command
Mrxvt.macro.Primary+Shift+Return:	Esc \ec
Mrxvt.macro.Primary+Add+Shift+Return:	Str ^M

#
# By default we should only have Ctrl+Shift modifier keys defined. Other
# modifier combinations are sometimes used by the window manager, or
# applications (e.g. emacs).
#
# Mrxvt.macro.Ctrl+Alt+n:		NewTab
# Mrxvt.macro.Ctrl+Alt+s:		SetTitle

# ---------------------------------------------------------------------------- #
#
#				VIM STYLE MACROS
#
# ---------------------------------------------------------------------------- #
Mrxvt.macro.Ctrl+Shift+h:		GotoTab -1
Mrxvt.macro.Ctrl+Shift+l:		GotoTab +1

# ---------------------------------------------------------------------------- #
#
#			      SCREEN STYLE MACROS
#
# ---------------------------------------------------------------------------- #
Mrxvt.macro.Ctrl+Shift+p:		GotoTab 0

# ---------------------------------------------------------------------------- #
#
#			       MRXVT STYLE MACROS
#
# ---------------------------------------------------------------------------- #

# Move tab to position Alt+Shift+<digit>
#
# 2006-02-26 gi1242: While Alt+Shift+<digit> would be more intuitive to move
# tabs, some terminal applications (e.g. mutt) use it. Terminal apps however
# don't use (or recognize Ctrl+Shift+<digit>, so we can safely use them here.
#
Mrxvt.macro.Ctrl+Shift+exclam:		MoveTab 1
Mrxvt.macro.Ctrl+Shift+at:		MoveTab 2
Mrxvt.macro.Ctrl+Shift+numbersign:	MoveTab 3
Mrxvt.macro.Ctrl+Shift+dollar:		MoveTab 4
Mrxvt.macro.Ctrl+Shift+percent:		MoveTab 5
Mrxvt.macro.Ctrl+Shift+asciicircum:	MoveTab 6
Mrxvt.macro.Ctrl+Shift+ampersand:	MoveTab 7
Mrxvt.macro.Ctrl+Shift+asterisk:	MoveTab 8
Mrxvt.macro.Ctrl+Shift+parenleft:	MoveTab 9
Mrxvt.macro.Ctrl+Shift+parenright:	MoveTab 10

# Previous active tab
Mrxvt.macro.Ctrl+Tab:			GotoTab 0

# Alternately we can use Ctrl+Tab to switch to the left / right tab
# Mrxvt.macro.Ctrl+Shift+ISO_Left_Tab:	GotoTab -1
# Mrxvt.macro.Ctrl+Tab:			GotoTab +1

Mrxvt.macro.Ctrl+Shift+less:		MoveTab	-1
Mrxvt.macro.Ctrl+Shift+greater:		MoveTab +1

# Disable by default. When any arg is passed to PrintScreen, the entire
# scrollback buffer is also printed.
# Mrxvt.macro.Ctrl+Shift+z:		PrintScreen Full
# Mrxvt.macro.Print:			PrintScreen
# Mrxvt.macro.Shift+Print:		PrintScreen Full

# More / less opaque
Mrxvt.macro.Ctrl+Shift+u:		Esc \e]70;+5\a
Mrxvt.macro.Ctrl+Shift+o:		Esc \e]70;-5\a

# More / less transparent
Mrxvt.macro.Ctrl+Shift+j:		Esc \e]67;+5\a
Mrxvt.macro.Ctrl+Shift+k:		Esc \e]67;-5\a

# Toggle transparency
Mrxvt.macro.Ctrl+Shift+r:		ToggleTransparency

# Hide / show subwindows
Mrxvt.macro.Ctrl+Shift+m:		ToggleSubwin m
Mrxvt.macro.Ctrl+Shift+i:		ToggleSubwin t
Mrxvt.macro.Ctrl+Shift+s:		ToggleSubwin s
Mrxvt.macro.Ctrl+Shift+a:		ToggleSubwin b

Mrxvt.macro.Ctrl+Shift+b:		ToggleVeryBold
# Mrxvt.macro.Ctrl+Shift+d:		ToggleBroadcast
Mrxvt.macro.Ctrl+Shift+f:	    	ToggleFullscreen
Mrxvt.macro.Ctrl+Shift+e:		ToggleHold
Mrxvt.macro.Ctrl+Shift+x:		SaveConfig

# Toggle macros
Mrxvt.macro.Ctrl+Shift+F12:		ToggleMacros

# Scrolling
Mrxvt.macro.Primary+Shift+Up:		Scroll -1
Mrxvt.macro.Primary+Shift+Down:		Scroll +1
Mrxvt.macro.Primary+Shift+Home:		Scroll -1000000
Mrxvt.macro.Primary+Shift+End:		Scroll +1000000

# Pasting
Mrxvt.macro.Ctrl+Shift+v:		Paste

# Paste contents of a file to active tab (e.g. a collection of shell settings
# like aliases, environment variables, ...). The file name can also be got from
# the selection if you use %s.
#Mrxvt.macro.Ctrl+Shift+w:   PasteFile ~/my-favourite-bash-settings
#Mrxvt.macro.Ctrl+Shift+w:   PasteFile %s

# A selection buffer can be added as an argument (PRIMARY,SECONDARY, CLIPBOARD)
Mrxvt.macro.Ctrl+Shift+c:		Paste CLIPBOARD

Mrxvt.macro.Shift+Delete:		SetTitle

# Monitor tabs for activity or inactivity
# (valid arguments for MonitorTab macro : "INACTIVITY", "ACTIVITY" and "AUTO")
Mrxvt.macro.Ctrl+Shift+g:	    MonitorTab AUTO
#Mrxvt.monitorTimeout:          2000
#Mrxvt.monitorCommand:          play ~/.ding_sound.wav
#Mrxvt.monitorCommand:          aosd_cat --fontdesc="Trebuchet 20" --ypos=50 --delay=4000 Alert on tab %n :: %t
#Mrxvt.monitorCommand:          xmessage Alert on tab %n

             
#
# Mrxvt Console: Enable the useFifo option, and then open a console in a new
# tab. Anything typed there is executed as a macro. When done (on clean exit),
# disable the useFifo option.
#
Mrxvt.macro.Ctrl+Shift+z:		UseFifo 1
Mrxvt.macro.Add+Ctrl+Shift+z:		NewTab "mrxvt Console" \!cat >> /tmp/.mrxvt-%P && echo "UseFifo 0" >> /tmp/.mrxvt-%P
Mrxvt.macro.Add+Ctrl+Shift+z:		ToggleHold -7

# External programs. In keeping with the Unix "minimalist" philosophy, we don't
# define these shortcuts by default.
#
# Remember commands start in the current directory of the active tab by
# default. Also prefixing commands with '!' will start them in a shell (so when
# you're done, the tab won't close, and you'll have a shell prompt).
#
# As of mrxvt-0.5.0, new tabs will be opened in the current directory. So the
# shortcut for Vim below is extremely useful :).

Mrxvt.macro.Ctrl+Shift+F1:		NewTab "man mrxvt" man mrxvt
# Mrxvt.macro.Ctrl+Shift+F2:		NewTab !vim
# Mrxvt.macro.Ctrl+Shift+F3:		NewTab !mutt

# These are the keyboard combinations compatible with mrxvt 0.4x, and
# they may be useful for some applications like mc. Thanks to Dimitri
# AT sun.com for the information:

# Mrxvt.macro.Ctrl+Home:            Str \e\133\067\136
# Mrxvt.macro.Ctrl+End:             Str \e\133\070\136
# Mrxvt.macro.Shift+Home:           Str \e\133\067\044
# Mrxvt.macro.Shift+End:            Str \e\133\070\044
# Mrxvt.macro.Shift+F1:             Str \e\133\062\063\176
# Mrxvt.macro.Shift+F2:             Str \e\133\062\064\176
# Mrxvt.macro.Shift+F3:             Str \e\133\062\065\176
# Mrxvt.macro.Shift+F4:             Str \e\133\062\066\176
# Mrxvt.macro.Shift+F5:             Str \e\133\062\070\176
# Mrxvt.macro.Shift+F6:             Str \e\133\062\071\176
# Mrxvt.macro.Shift+F7:             Str \e\133\063\061\176
# Mrxvt.macro.Shift+F8:             Str \e\133\063\062\176
# Mrxvt.macro.Shift+F9:             Str \e\133\063\063\176
# Mrxvt.macro.Shift+F10:            Str \e\133\063\064\176
# Mrxvt.macro.Alt+Return:           Str \e\012

# vim: set ts=8 sts=4: