-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvimprobablerc.1
237 lines (166 loc) · 5.21 KB
/
vimprobablerc.1
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
.\" Process this file with
.\" groff -man -Tascii vimprobablerc.1
.\"
.TH VIMPROBABLERC 1 "December 2009" "Linux User Manuals"
.SH NAME
vimprobablerc \- The configuration file for Vimprobable
.SH DESCRIPTION
If you have a .config/vimprobable/vimprobablerc in your home directory, Vimprobable
will read it at startup.
.PP
The vimprobablerc file consists of a series of configuration options, one per line. Blank lines and lines starting with a
colon (:) are seen as comments and will be ignored.
.SH FILES
.I $HOME/.config/vimprobable/vimprobablerc
.PP
Per user configuration file.
.SH FORMAT
.IP set
.RS
set is used to alter a default setting. For possible options that can be altered,
see the SETTINGS section below.
Each line looks like this:
.I " " set what=value
Vimprobable is not picky about white space in these lines.
.RE
.IP map
.RS
map is used to change the default key-binding. For possible options that
can be altered see the MAPPING section below.
Each line looks like this:
.I " " map what=value
Vimprobable is not picky about white space in these lines.
.RE
.IP misc
.RS
Any command listed under colon commands in vimprobable2(1) will be accepted in the config file as well.
.SH FORMAT MODIFIED KEYS
It is possible to map keys modified with eiter Control, Shift or Modkeys.
To map a key modified with Control, use this format: <C-h>
where C stands for the Control-key and h for the h-key.
or <S-k> where S stands for the Shift-key and k for the k-key.
<M1-j> maps the combination of Mod1 and the j-key. Mod1 is
usually the "Alt" key, Mod4 the "Windows" key.
Examples:
<C-h> : Ctrl-h
<C-k> : Ctrl-k
z<S-i>: z followed by Shift-i
.RE
.SH SETTINGS
This section describes the possible options that can be changed from
their default value.
.IP completioncase=[true|false]
Case sensitive (true) or insensitive tab completion.
.IP homepage=URL
Set the URL of the homepage.
.IP useragent=<useragent-string>
Replace the default useragent-string.
.IP acceptlanguage=<acceptlanguage-string>
Replace the default acceptlanguage-string.
.IP scripts=[true|false]
Enable or disable scripts.
.IP plugins=[true|false]
Enable or disable plugins.
.IP java=[true|false]
Enable or disable Java applets.
.IP images=[true|false]
Enable or disable autoload of images.
.IP shrinkimages=[true|false]
Enable or disable autoshrink of images.
.IP cursivefont=cursivefont-family
Replace the default cursive font family
.IP defaultencoding=encoding
Replace the default encoding
.IP defaultfont=default-font-family
Replace the default font family
.IP defaultsearch=searchengine-shortcut
Replace the default search engine
.IP fontsize=integer
Replace the default fontsize
.IP monofontsize=integer
Replace the default monospace fontsize
.IP caret=[true|false]
Enable or disable caret browsing
.IP fantasyfont=fantasy-font-family
Replace the default fantasy font family
.IP minimumfontsize=integer
Replace the default minimum font size
.IP monofont=default-monospace-font-family
Replace the default monospace font family
.IP proxy=[true|false]
Whether to read and use the http_proxy environment variable
.IP backgrounds=[true|false]
Enable or disable print backgrounds
.IP sansfont=default-sans-font-family
Replace the default sans-serif font family
.IP scrollbars=[true|false]
Enable or disable scrollbars.
.IP statusbar=[true|false]
Show or hide the status bar.
.IP inputbox=[true|false]
Show or hide the input box.
.IP seriffont=default-serif-font-family
Replace the default serif font family
.IP stylesheet=URL
Replace the user stylesheet
.IP webinspector=[true|false]
Enable or disable webinspector
.SH MAPPINGS
Keys can be mapped to the following functions:
.IP quit
Close the browser
.IP stop
Stop the current loading process
.IP bookmark
Save the current website in the bookmarks
.IP source
Toggle HTML source view
.IP jumpleft
Scroll to left edge
.IP jumpright
Scroll to right edge
.IP jumptop
Scroll to top of the page
.IP jumpbottom
Scroll to bottom of the page
.IP pageup
Scroll one screensize up
.IP pagedown
Scroll one screensize down
.IP navigationback
Go to previous page in browser-history
.IP navigationforward
Go to next page in browser-history
.IP reload
Reload current page
.IP scrollleft
Scroll the page one step to the left
.IP scrollright
Scroll the page one step to the right
.IP scrollup
Scroll the page one step up
.IP scrolldown
Scroll the page one step down
Example:
To map the 'R' key to reload to current page, add the following
line into ~/.config/vimprobable/vimprobablerc:
map <S-R> reload
.SH MAPPING COLON COMMANDS
Key can be mapped to any colon commands. Instead of entering an
internal symbol for the key combination to be mapped to, enter
a command line as you would enter it within a running browser
instance. For example:
map <C-s>=:set scripts=false
This would map Control-s to disable Javascript.
map i=:javascript console.log('insertmode_on')
This maps the i key to manually activate INSERT mode.
.SH INTERACTIVE SETTING
All settings can be changed on the fly by entering
:set followed by one of the commands in the SETTINGS section
above.
.SH BUGS
There has not been any significant bug-hunting yet.
.SH AUTHORS
Hannes Schueller and Matto Fransen
.SH "SEE ALSO"
.BR vimprobable2 (1),