version 1.3.0
[vimprobable/e.git] / vimprobablerc.5
blob7d7536ba8db4f26019632b31d4d13abed6499c06
1 .\" Process this file with
2 .\" groff -man -Tascii vimprobablerc.5
3 .\"
4 .TH VIMPROBABLERC 5 "FEBRUARY 2012" "Linux User Manuals"
5 .SH NAME
6 vimprobablerc \- The configuration file for Vimprobable
7 .SH DESCRIPTION
8 If you have a .config/vimprobable/vimprobablerc in your home directory, Vimprobable 
9 will read it at startup.
10 .PP
11 The vimprobablerc file consists of a series of configuration options, one per line. Blank lines and lines starting with a 
12 colon (:) are seen as comments and will be ignored.
13 .SH FILES
14 .I $HOME/.config/vimprobable/vimprobablerc
15 .PP
16 Per user configuration file. 
17 .SH FORMAT
18 .IP set 
19 .RS
20 set is used to alter a default setting. For possible options that can be altered,
21 see the SETTINGS section below.
23 Each line looks like this:
25 .I "    " set what=value
27 Vimprobable is not picky about white space in these lines.
28 .RE 
29 .IP map 
30 .RS
31 map is used to change the default key-binding. For possible options that 
32 can be altered see the MAPPING section below.
34 Each line looks like this:
36 .I "    " map what=value
38 Vimprobable is not picky about white space in these lines.
40 .RE
41 .IP misc
42 .RS
43 Any command listed under colon commands in vimprobable2(1) will be accepted in the config file as well.
46 .SH FORMAT MODIFIED KEYS
48 It is possible to map keys modified with eiter Control or Modkeys.
49 To map a key modified with Control, use this format: <C-h>
50 where C stands for the Control-key and h for the h-key.
51 <M1-j> maps the combination of Mod1 and the j-key. Mod1 is
52 usually the "Alt" key, Mod4 the "Windows" key.
54 Examples:
55 <C-h> : Ctrl-h
56 <C-k> : Ctrl-k
57 z<M1-i>: z followed by Alt-i
59 .RE 
61 .SH SETTINGS
63 This section describes the possible options that can be changed from
64 their default value.
66 .IP completioncase=[true|false]
67 Case sensitive (true) or insensitive tab completion.
69 .IP homepage=URL
70 Set the URL of the homepage.
72 .IP useragent=<useragent-string>
73 Replace the default useragent-string.
75 .IP acceptlanguage=<acceptlanguage-string>
76 Replace the default acceptlanguage-string.
78 .IP scripts=[true|false]
79 Enable or disable scripts.
81 .IP plugins=[true|false]       
82 Enable or disable plugins.
84 .IP java=[true|false]       
85 Enable or disable Java applets.
87 .IP images=[true|false]
88 Enable or disable autoload of images.
90 .IP shrinkimages=[true|false]  
91 Enable or disable autoshrink of images.
93 .IP cursivefont=cursivefont-family
94 Replace the default cursive font family
96 .IP defaultencoding=encoding
97 Replace the default encoding
99 .IP defaultfont=default-font-family
100 Replace the default font family
102 .IP defaultsearch=searchengine-shortcut
103 Replace the default search engine
105 .IP escapeinput=[true|false]
106 Ignore automatic focusing of input elements by websites on load.
108 .IP fontsize=integer
109 Replace the default fontsize
111 .IP monofontsize=integer  
112 Replace the default monospace fontsize
114 .IP caret=[true|false]         
115 Enable or disable caret browsing
117 .IP fantasyfont=fantasy-font-family
118 Replace the default fantasy font family
120 .IP minimumfontsize=integer 
121 Replace the default minimum font size
123 .IP monofont=default-monospace-font-family
124 Replace the default monospace font family
126 .IP pagecache=[true|false]
127 Enable or disable webkit's internal page cache
129 .IP proxy=[true|false]
130 Whether to read and use the http_proxy environment variable
132 .IP backgrounds=[true|false]         
133 Enable or disable print backgrounds
135 .IP sansfont=default-sans-font-family
136 Replace the default sans-serif font family
138 .IP scrollbars=[true|false]
139 Enable or disable scrollbars.
141 .IP statusbar=[true|false]
142 Show or hide the status bar.
144 .IP inputbox=[true|false]
145 Show or hide the input box.
147 .IP seriffont=default-serif-font-family
148 Replace the default serif font family
150 .IP stylesheet=URL
151 Replace the user stylesheet
153 .IP webinspector=[true|false]
154 Enable or disable webinspector
156 .IP strictssl=[true|false]
157 Reject or accept unverified certificates (default: true)
159 .IP cabundle=/path/to/file
160 Where CA certificates are stored (default: /etc/ssl/certs/ca-certificates.crt)
162 .IP tempdir=/path/without/slash
163 A path to a directory for temporary files (default: $TMPDIR or /tmp)
165 .SH MAPPINGS
167 Keys can be mapped to the following functions:
169 .IP quit
170 Close the browser
172 .IP stop
173 Stop the current loading process
175 .IP bookmark
176 Save the current website in the bookmarks
178 .IP source
179 Toggle HTML source view
181 .IP inspect
182 Opens the webinspector if the webinspector is enabled
184 .IP jumpleft
185 Scroll to left edge
187 .IP jumpright
188 Scroll to right edge
190 .IP jumptop
191 Scroll to top of the page
193 .IP jumpbottom
194 Scroll to bottom of the page
196 .IP pageup
197 Scroll one screensize up
199 .IP pagedown
200 Scroll one screensize down
202 .IP navigationback
203 Go to previous page in browser-history
205 .IP navigationforward
206 Go to next page in browser-history
208 .IP reload
209 Reload current page
211 .IP scrollleft
212 Scroll the page one step to the left
214 .IP scrollright
215 Scroll the page one step to the right
217 .IP scrollup
218 Scroll the page one step up
220 .IP scrolldown
221 Scroll the page one step down
223 .IP openeditor
224 When in a text box, open the external editor
226 Example: 
227 To map the 'R' key to reload to current page, add the following
228 line into ~/.config/vimprobable/vimprobablerc:
230 map R reload
232 .SH MAPPING KEYS TO COLON COMMANDS
234 Key can be mapped to any colon commands. Instead of entering an
235 internal symbol for the key combination to be mapped to, enter
236 a command line as you would enter it within a running browser
237 instance. For example:
239 map <C-s>=:set scripts=false
241 This would map Control-s to disable Javascript.
243 map i=:javascript console.log('insertmode_on')
245 This maps the i key to manually activate INSERT mode.
247 .SH MAPPING COMMANDS TO EXISTING COMMANDS
249 You can create new commands by mapping them to an already 
250 working command line. For example:
252 map :bmatag1=:bookmark tag1
254 would create a new command "bmatag1" which would bookmark
255 the current page and automatically add "tag1" to it.
257 .SH INTERACTIVE SETTING
258 All settings can be changed on the fly by entering
259 :set followed by one of the commands in the SETTINGS section
260 above.
262 .SH SEARCH ENGINES
264 You can define new search engine shortcuts or override the pre-defined ones
265 using the following format (without the angle brackets):
267 .RS 4
268 searchengine <shortcut> <URL with exactly one %s>
271 where the %s serves as a placeholder for the search term. Other percent signs
272 in the URL have to be escaped as %%\&.
274 .SH URI HANDLERS
276 You can define external applications to handle requests for defined URI schemas
277 using the following syntax (without the angle brackets):
279 .RS 4
280 handler <URI schema> <handler command with exactly one %s>
283 where the %s serves as a placeholder for the rest of the URI.
285 .SH BUGS
286 There has not been any significant bug-hunting yet.
287 .SH AUTHORS
288 Hannes Schueller and Matto Fransen
289 .SH "SEE ALSO"
290 .BR vimprobable2 (1),