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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
|
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://liberator/content/help.xsl"?>
<!DOCTYPE document SYSTEM "chrome://liberator/content/liberator.dtd">
<document
name="options"
title="&liberator.appname; Options"
xmlns="http://vimperator.org/namespaces/liberator"
xmlns:html="http://www.w3.org/1999/xhtml">
<h1 tag="options">Options</h1>
<toc start="2"/>
<p>
&liberator.appname; has a number of internal variables and switches which can be set to
achieve special effects. These options come in 5 forms:
</p>
<dl>
<dt>boolean</dt> <dd>can only be on or off</dd>
<dt>number</dt> <dd>has a numeric value</dd>
<dt>string</dt> <dd>has a string value</dd>
<dt>charlist</dt> <dd>like a string but with unique characters</dd>
<dt>stringlist</dt> <dd>a comma-separated list of strings</dd>
</dl>
<h2 tag="set-option E764">Setting options</h2>
<item>
<tags>:set :se</tags>
<spec>:se[t]</spec>
<description short="true">
<p>Show all options that differ from their default value.</p>
</description>
</item>
<item>
<spec>:se[t] all</spec>
<description short="true">
<p>Show all options.</p>
</description>
</item>
<item>
<tags>E518 E519</tags>
<spec>:se[t] <a>option</a>?</spec>
<description>
<p>Show value of <a>option</a>.</p>
</description>
</item>
<item>
<spec>:se[t] <a>option</a> […]</spec>
<description>
<dl>
<dt>Toggle option</dt> <dd>set, switch it on.</dd>
<dt>Number option</dt> <dd>show value.</dd>
<dt>String option</dt> <dd>show value.</dd>
</dl>
</description>
</item>
<item>
<spec>:se[t] no<a>option</a> […]</spec>
<description>
<p>Toggle option: Reset, switch it off.</p>
</description>
</item>
<item>
<spec>:se[t] <a>option</a>! […]</spec>
<spec>:se[t] inv<a>option</a> […]</spec>
<description>
<p>Toggle option: Invert value.</p>
</description>
</item>
<item>
<spec>:se[t] inv<a>option</a>=<a>value</a> […]</spec>
<spec>:se[t] <a>option</a>!=<a>value</a> […]</spec>
<description>
<p>For list options, toggle the specified values.</p>
<p>If the option is a list, the given values are toggled. Given</p>
<code><ex>:set opt=foo,bar</ex></code>
<p>then,</p>
<code><ex>:set opt!=foo,baz</ex></code>
<p>has the same result as</p>
<code><ex>:set opt=bar,baz</ex></code>
</description>
</item>
<item>
<tags>:set-default</tags>
<spec>:se[t] <a>option</a>& […]</spec>
<description>
<p>Reset option to its default value.</p>
</description>
</item>
<item>
<spec>:se[t] all&</spec>
<description>
<p>Set all options to their default value.</p>
</description>
</item>
<item>
<tags>:set-args E487 E521</tags>
<spec>:se[t] <a>option</a>=<a>value</a> […]</spec>
<description>
<p>
Set string or number option to <a>value</a>.
For numeric options the value must be given in decimal.
The old value can be inserted by typing <k name="Tab"/>.
</p>
</description>
</item>
<item>
<tags>:set+=</tags>
<spec>:se[t] <a>option</a>+=<a>value</a> […]</spec>
<description>
<p>
Add the <a>value</a> to a number option, or append the <a>value</a>
to a string option. When the option is a comma separated list, a
comma is added, unless the value was empty. If the option is a list
of flags, superfluous flags are removed. When adding a flag that
was already present the option value doesn't change.
</p>
</description>
</item>
<item>
<tags>:set^=</tags>
<spec>:se[t] <a>option</a>^=<a>value</a> […]</spec>
<description>
<p>
Multiply the <a>value</a> to a number option, or prepend the
<a>value</a> to a string option. When the option is a comma
separated list, a comma is added, unless the value was empty.
</p>
</description>
</item>
<item>
<tags>:set-=</tags>
<spec>:se[t] <a>option</a>-=<a>value</a> […]</spec>
<description>
<p>
Subtract the <a>value</a> from a number option, or remove the
<a>value</a> from a string option if it is there. If the
<a>value</a> is not found in a string option, there is no error or
warning. When the option is a comma separated list, a comma is
deleted, unless the option becomes empty. When the option is a list
of flags, <a>value</a> must be exactly as they appear in the option.
Remove flags one by one to avoid problems.
</p>
</description>
</item>
<item>
<tags>:setlocal :setl</tags>
<spec>:setl[ocal]</spec>
<spec>:setl[ocal] all</spec>
<spec>:setl[ocal] <a>option</a>?</spec>
<spec>:setl[ocal] <a>option</a></spec>
<spec>:setl[ocal] no<a>option</a></spec>
<spec>:setl[ocal] inv<a>option</a></spec>
<spec>:setl[ocal] <a>option</a>&</spec>
<spec>:setl[ocal] all&</spec>
<spec>:setl[ocal] <a>option</a>=<a>value</a></spec>
<spec>:setl[ocal] <a>option</a>+=<a>value</a></spec>
<spec>:setl[ocal] <a>option</a>^=<a>value</a></spec>
<spec>:setl[ocal] <a>option</a>-=<a>value</a></spec>
<description>
<p>
The same as <ex>:set</ex> command, but operates on current tab options
only. See <ex>:set</ex> for details.
</p>
</description>
</item>
<item>
<tags>:setglobal :setg</tags>
<spec>:setg[lobal]</spec>
<spec>:setg[lobal] all</spec>
<spec>:setg[lobal] <a>option</a>?</spec>
<spec>:setg[lobal] <a>option</a></spec>
<spec>:setg[lobal] no<a>option</a></spec>
<spec>:setg[lobal] inv<a>option</a></spec>
<spec>:setg[lobal] <a>option</a>&</spec>
<spec>:setg[lobal] all&</spec>
<spec>:setg[lobal] <a>option</a>=<a>value</a></spec>
<spec>:setg[lobal] <a>option</a>+=<a>value</a></spec>
<spec>:setg[lobal] <a>option</a>^=<a>value</a></spec>
<spec>:setg[lobal] <a>option</a>-=<a>value</a></spec>
<description>
<p>
The same as <ex>:set</ex> command, but operates on global options only.
See <ex>:set</ex> for details.
</p>
</description>
</item>
<tags>expand-environment-var expand-env :set_env</tags>
<p>
Environment variables are expanded for path options like <o>cdpath</o> and
<o>runtimepath</o>. The variable notation is <em>$VAR</em> (terminated by a non-word
character) or <em>$<a>VAR</a></em>. <em>%VAR%</em> is also supported on Windows.
</p>
<h2 tag="&liberator.host;-options preferences">Setting &liberator.host; options</h2>
<p>&liberator.host; options can be viewed and set with the following commands:</p>
<item>
<tags>:prefs :preferences</tags>
<spec>:pref[erences]</spec>
<description>
<p>
Show the &liberator.host; preferences dialog. You can change the browser
preferences from this dialog. Be aware that not all &liberator.host;
preferences work, because &liberator.appname; overrides some key bindings and
changes &liberator.host;'s GUI.
</p>
</description>
</item>
<item>
<tags>:prefs! :preferences!</tags>
<spec>:pref[erences]!</spec>
<description>
<p>
Opens about:config in the current tab where you can change advanced &liberator.host;
preferences.
</p>
</description>
</item>
<item>
<tags>:set! :set-!</tags>
<spec>:se[t]! <a>preference</a>=<a>value</a></spec>
<description>
<p>
Change any &liberator.host; <a>preference</a> (those in the about:config
window). You can also reset/delete those preferences with
<ex>:set! <a>preference</a>&</ex>.
</p>
</description>
</item>
<tags>overridden-preferences</tags>
<p>
&liberator.appname; sets several &liberator.host; preferences at startup. If this is undesirable,
they can be changed to a different value in your RC file using
<ex>:set! <a>preference</a>=<a>value</a></ex>
</p>
<p>The following preferences are set:</p>
<ul>
<li><link topic="http://kb.mozillazine.org/Dom.popup_allowed_events">dom.popup_allowed_events</link></li>
<li><link topic="http://kb.mozillazine.org/Accessibility.typeaheadfind.autostart">accessibility.typeaheadfind.autostart</link></li>
<li><link topic="http://kb.mozillazine.org/Accessibility.typeaheadfind">accessibility.typeaheadfind</link></li>
</ul>
<!-- TODO: others? -->
<h2 tag="list-options">List of options</h2>
<item>
<tags>'act' 'activate'</tags>
<spec>'activate' 'act'</spec>
<type>stringlist</type>
<default>homepage,quickmark,tabopen,paste</default>
<description>
<p>Define when tabs are automatically activated. Available items:</p>
<dl>
<dt>homepage</dt> <dd><k>gH</k> mapping</dd>
<dt>quickmark</dt> <dd><k>go</k> and <k>gn</k> mappings</dd>
<dt>tabopen</dt> <dd><ex>:tabopen[!]</ex> command</dd>
<dt>paste</dt> <dd><k>P</k> and <k>gP</k> mappings</dd>
</dl>
</description>
</item>
<item>
<tags>$CDPATH</tags>
<tags>'cd' 'cdpath'</tags>
<spec>'cdpath' 'cd'</spec>
<type>string</type>
<default type="plain">equivalent to <em>$CDPATH</em> or <str>,,</str></default>
<description>
<p>
List of directories searched when executing the <ex>:cd</ex>
command. This is only used for relative paths if an absolute path is
specified then the option is ignored.
</p>
</description>
</item>
<item>
<tags>'cpt' 'complete'</tags>
<spec>'complete' 'cpt'</spec>
<type>charlist</type>
<default>slf</default>
<description>
<p>Items which are completed at the <ex>:open</ex> prompts. Available items:</p>
<dl>
<dt>s</dt> <dd>Search engines and keyword URLs</dd>
<dt>f</dt> <dd>Local files</dd>
<dt>l</dt> <dd>&liberator.host; location bar entries (bookmarks and history sorted in an intelligent way)</dd>
<dt>b</dt> <dd>Bookmarks</dd>
<dt>h</dt> <dd>History</dd>
<dt>S</dt> <dd>Search engine suggestions</dd>
<dt>t</dt> <dd>Open tabs</dd>
</dl>
<p>
The order is important, so <ex>:set complete=bs</ex> would list bookmarks first,
and then any available quick searches.
</p>
<warning>
Using <em>b</em> and <em>h</em> can make completion very slow if there are many items.
</warning>
</description>
</item>
<item>
<tags>'ds' 'defsearch'</tags>
<spec>'defsearch' 'ds'</spec>
<type>string</type>
<default>google</default>
<description>
<p>
Sets the default search engine. The default search engine name is
used in the <ex>:open [arg]</ex> command if [arg] neither
looks like a URL nor like a specified search engine/keyword.
</p>
<p>
This means that if you set <o>defsearch</o> to <str>youtube</str>,
then <ex>:open arnold schwarzenegger</ex> will be exactly the same as
<ex>:open youtube arnold schwarzenegger</ex>. Therefore, you need
to add a keyword or search engine <str>youtube</str> first.
</p>
<p>
If <o>defsearch</o> is empty, then &liberator.host; will always attempt to
open the raw [arg].
</p>
</description>
</item>
<item>
<tags>'editor'</tags>
<spec>'editor'</spec>
<type>string</type>
<default>gvim -f</default>
<description>
<p>
Set the external text editor.
Sets the editor to run when <k name="C-i"/> is pressed in Insert and TextArea
modes.
</p>
<warning>
&liberator.appname; will not behave correctly if the editor forks its own
process, such as with gvim without the -f argument.
</warning>
</description>
</item>
<item>
<tags>'noex' 'noexrc'</tags>
<tags>'ex' 'exrc'</tags>
<spec>'exrc' 'ex'</spec>
<type>boolean</type>
<default>off</default>
<description>
<p>
Allow reading of an RC file in the current directory. This file is
sourced in addition to, and after, your default RC file.
</p>
</description>
</item>
<item>
<tags>'eht' 'extendedhinttags'</tags>
<spec>'extendedhinttags' 'eht'</spec>
<type>string</type>
<default>//*[@onclick or @onmouseover or @onmousedown or @onmouseup or
@oncommand or @class='lk' or @role='link'] |
//input[not(@type='hidden')] | //xhtml:input[not(@type='hidden')] |
//a | //xhtml:a | //area | //xhtml:area | //iframe | //xhtml:iframe |
//textarea | //xhtml:textarea | //button | //xhtml:button |
//select | //xhtml:select</default>
<description>
<p>The XPath string of hintable elements activated by <k>;</k>.</p>
</description>
</item>
<item>
<tags>'noeb' 'noerrorbells'</tags>
<tags>'eb' 'errorbells'</tags>
<spec>'errorbells' 'eb'</spec>
<type>boolean</type>
<default>off</default>
<description>
<p>Ring the bell when an error message is displayed.</p>
</description>
</item>
<item>
<tags>'ei' 'eventignore'</tags>
<spec>'eventignore'</spec>
<type>stringlist</type>
<default></default>
<description>
<p>
A list of autocommand event names which should be ignored. If the list contains
the value <str>all</str> then all events are ignored.
</p>
</description>
</item>
<item>
<tags>'enc' 'encoding'</tags>
<spec>'encoding'</spec>
<type>string</type>
<default>UTF-8</default>
<description>
<p>
Changes the character encoding of the current buffer. Valid only for
the current page.
</p>
</description>
</item>
<item>
<tags>'fenc' 'fileencoding'</tags>
<spec>'fileencoding'</spec>
<type>string</type>
<default>UTF-8</default>
<description>
<p>Changes the character encoding that &liberator.appname; uses to read and write files.</p>
</description>
</item>
<item>
<tags>'nofc' 'nofocuscontent'</tags>
<tags>'fc' 'focuscontent'</tags>
<spec>'focuscontent' 'fc'</spec>
<type>boolean</type>
<default>off</default>
<description>
<p>
Focus the content after a page has loaded. This is useful if you
always want to stay in Normal mode when browsing between web sites.
When <str>on</str>, it blurs any textbox which often is
automatically focused on page load. If you usually like
<o>focuscontent</o> but sometimes you'd like to focus the first
input field, you can use <k>gi</k> to jump to it.
</p>
</description>
</item>
<item>
<tags>'fh' 'followhints'</tags>
<spec>'followhints' 'fh'</spec>
<type>number</type>
<default>0</default>
<description>
<p>Change the behaviour of <k name="Return"/> in Hints mode.</p>
<p>Possible values:</p>
<dl>
<dt>0</dt> <dd>Follow the first hint as soon as typed text uniquely identifies it.</dd>
<dt>1</dt> <dd>Follow the selected hint on <k name="Return"/>.</dd>
<dt>2</dt> <dd>Follow the selected hint on <k name="Return"/> only if it's been <k name="Tab"/>-selected.</dd>
</dl>
</description>
</item>
<item>
<tags>'nofs' 'nofullscreen'</tags>
<tags>'fs' 'fullscreen'</tags>
<spec>'fullscreen' 'fs'</spec>
<type>boolean</type>
<default>off</default>
<description>
<p>
Show the current window fullscreen. Also hide certain GUI elements like the
statusline.
</p>
</description>
</item>
<item>
<tags>'go' 'guioptions'</tags>
<spec>'guioptions' 'go'</spec>
<type>charlist</type>
<default></default>
<description>
<p>Show or hide certain GUI elements like the menu or toolbar.</p>
<p>Supported characters:</p>
<dl>
<dt>m</dt> <dd>Menubar</dd>
<dt>T</dt> <dd>Toolbar</dd>
<dt>B</dt> <dd>Bookmark bar</dd>
<dt>n</dt> <dd>Tab number</dd>
<dt>N</dt> <dd>Tab number over image</dd>
<dt>b</dt> <dd>Bottom scrollbar</dd>
<dt>r</dt> <dd>Right scrollbar</dd>
<dt>l</dt> <dd>Left scrollbar (<em>l</em> and <em>r</em> are mutually exclusive)</dd>
</dl>
<p>You can also hide the tab bar with <ex>:set showtabline=0</ex>.</p>
<note>Scrollbar changes require a page reload to take effect.</note>
</description>
</item>
<item>
<tags>'hf' 'helpfile'</tags>
<spec>'helpfile' 'hf'</spec>
<type>string</type>
<default>intro</default>
<description>
<p>
Name of the main help file. This is the tail component of the chrome
URL as displayed in the status line when viewing the page.
</p>
</description>
</item>
<item>
<tags>'hin' 'hintinputs'</tags>
<spec>'hintinputs' 'hin'</spec>
<type>stringlist</type>
<default>label,value</default>
<description>
<p>
When generating hints for input elements that do not have an
explicit caption, this specifies the methods to try and generate a
textual hint. It tries the options in the order that you give, and
uses the first that it finds.
</p>
<dl>
<dt>value</dt> <dd>The hint is the value displayed in a text input, or the selected option for a dropdown.</dd>
<dt>label</dt> <dd>The value of an explicit label for the input, this will not match most manually added labels that are found on sites.</dd>
<dt>name </dt> <dd>The name of the input will be used, although the name is not designed for user consumption, it is frequently very similar to the label.</dd>
</dl>
</description>
</item>
<item>
<tags>'hm' 'hintmatching'</tags>
<spec>'hintmatching' 'hm'</spec>
<type>string</type>
<default>contains</default>
<description>
<p>Change the hint matching algorithm during Hints mode.</p>
<p>Possible values:</p>
<dl>
<dt>contains</dt> <dd>The typed characters are split on whitespace, and these character groups have to match anywhere inside the text of the link.</dd>
<dt>wordstartswith</dt> <dd>The typed characters are matched with the beginning of the first word (see <o>wordseparators</o>) in the link as long as possible. If no matches occur in the current word, then the matching is continued at the beginning of the next word. The words are worked through in the order they appear in the link. If the typed characters contain spaces, then the characters are split on whitespace. These character groups are then matched with the beginning of the words, beginning at the first one and continuing with the following words in the order they appear in the link.</dd>
<dt>firstletters</dt> <dd>Behaves like wordstartswith, but non-matching words aren't overleaped.</dd>
<dt>custom</dt> <dd>Delegate to a custom function: liberator.plugins.customHintMatcher(hintString)</dd>
</dl>
</description>
</item>
<item>
<tags>'ht' 'hinttags'</tags>
<spec>'hinttags' 'ht'</spec>
<type>string</type>
<default>//*[@onclick or @onmouseover or @onmousedown or @onmouseup or
@oncommand or @class='lk' or @role='link'] |
//input[not(@type='hidden')] | //a | //area |
//iframe | //textarea | //button | //select |
//xhtml:input[not(@type='hidden')] | //xhtml:a | //xhtml:area |
//xhtml:iframe | //xhtml:textarea | //xhtml:button | //xhtml:select</default>
<description>
<p>XPath string of hintable elements activated by <k>f</k> and <k>F</k></p>
</description>
</item>
<item>
<tags>'hto' 'hinttimeout'</tags>
<spec>'hinttimeout' 'hto'</spec>
<type>number</type>
<default>0</default>
<description>
<p>
Timeout before automatically following a non-unique numerical hint. Set to 0
(the default) to only follow numeric hints after pressing <k name="Return"/> or
when the hint is unique.
</p>
</description>
</item>
<item>
<tags>'hi' 'history'</tags>
<spec>'history' 'hi'</spec>
<type>number</type>
<default>500</default>
<description>
<p>Number of Ex commands and search patterns to store in the command-line history.</p>
</description>
</item>
<item>
<tags>'noprivate' 'private'</tags>
<spec>'private'</spec>
<type>boolean</type>
<default>off</default>
<description>
<p>
Set the <str>private browsing</str> option. In private browsing mode
history, cache files, cookies, form data, passwords, download list
entries, local and URL marks, command-line history and macros are
available only for the duration of the private browsing session and
deleted when returning to normal browsing mode.
</p>
</description>
</item>
<item>
<tags>'nohls' 'nohlsearch'</tags>
<tags>'hls' 'hlsearch'</tags>
<spec>'hlsearch' 'hls'</spec>
<type>boolean</type>
<default>off</default>
<description>
<p>Highlight previous search pattern matches</p>
</description>
</item>
<item>
<tags>'noic' 'noignorecase'</tags>
<tags>'ic' 'ignorecase'</tags>
<spec>'ignorecase' 'ic'</spec>
<type>boolean</type>
<default>on</default>
<description>
<p>Ignore case in search patterns.</p>
</description>
</item>
<item>
<tags>'nois' 'noincsearch'</tags>
<tags>'is' 'incsearch'</tags>
<spec>'incsearch' 'is'</spec>
<type>boolean</type>
<default>on</default>
<description>
<p>Show where the search pattern matches as it is typed.</p>
<note>Incremental searching currently only works in the forward direction.</note>
</description>
</item>
<item>
<tags>'noim' 'noinsertmode'</tags>
<tags>'im' 'insertmode'</tags>
<spec>'insertmode' 'im'</spec>
<type>boolean</type>
<default>on</default>
<description>
<p>
Use Insert mode as the default for text areas. This is useful if you
want to use the known &liberator.host; interface for editing text areas.
Input fields default to this behaviour irrespective of this option's
setting.
</p>
<p>
Textarea mode can be entered with <k name="C-t"/> from Insert mode.
<!-- TODO: <C-t> is not documented yet. -->
</p>
</description>
</item>
<item>
<tags>'ls' 'laststatus'</tags>
<spec>'laststatus' 'ls'</spec>
<type>number</type>
<default>2</default>
<description>
<p>Determines when the last window will have a status line.</p>
<p>Possible values:</p>
<dl>
<dt>0</dt> <dd>Never</dd>
<dt>1</dt> <dd>Only if there are multiple windows</dd>
<dt>2</dt> <dd>Always</dd>
</dl>
<note>laststatus=1 not implemented yet.</note>
</description>
</item>
<item>
<tags>'nolks' 'nolinksearch'</tags>
<tags>'lks' 'linksearch'</tags>
<spec>'linksearch' 'lks'</spec>
<type>boolean</type>
<default>off</default>
<description>
<p>
Limit the search to hyperlink text. This includes (X)HTML elements
with an <str>href</str> atrribute and XLink <str>simple</str> links.
</p>
</description>
</item>
<item>
<tags>'nolpl' 'lpl'</tags>
<tags>'noloadplugins' 'loadplugins'</tags>
<spec>'loadplugins' 'lpl'</spec>
<type>boolean</type>
<default>on</default>
<description>
<p>
Load plugin scripts when starting up. When on, yet unloaded plugins
are automatically loaded after the &liberator.name;rc file has been
sourced. To load plugins earlier, use the <ex>:loadplugins</ex>
command within the &liberator.name;rc.
</p>
</description>
</item>
<item>
<tags>'maxitems'</tags>
<spec>'maxitems'</spec>
<type>number</type>
<default>20</default>
<description>
<p>Maximum number of items to display at once in a listing.</p>
</description>
</item>
<item>
<tags>'msgs' 'messages'</tags>
<spec>'messages' 'msgs'</spec>
<type>number</type>
<default>100</default>
<description>
<p>Number of messages to store in the message history.</p>
</description>
</item>
<item>
<tags>'nomore' 'more'</tags>
<spec>'more'</spec>
<type>boolean</type>
<default>on</default>
<description>
<p>Pause the message list window when more than one screen of listings is displayed.</p>
</description>
</item>
<item>
<tags>'nextpattern'</tags>
<spec>'nextpattern'</spec>
<type>stringlist</type>
<default>\bnext,^>$,^(>>|»)$,^(>|»),(>|»)$,\bmore\b</default>
<description>
<p>
Patterns to use when guessing the <o>next</o> page in a document
sequence when the user hits <k>]]</k>. Each pattern, in order, is
matched against all links in the page with the first match being
used. The patterns are case insensitive regular expressions and the
link elements are those defined by <o>hinttags</o>.
</p>
</description>
</item>
<item>
<tags>'newtab'</tags>
<spec>'newtab'</spec>
<type>stringlist</type>
<default></default>
<description>
<p>
Define which Ex commands output the result in a new tab
automatically. You can also use <ex>:tab command</ex> to manually
output a command in a new tab.
</p>
<p>The possible values:</p>
<dl>
<dt>all</dt> <dd>All commands</dd>
<dt>addons</dt> <dd><ex>:addo[ns]</ex> command</dd>
<dt>downloads</dt> <dd><ex>:downl[oads]</ex> command</dd>
<dt>extoptions</dt> <dd><ex>:exto[ptions]</ex> command</dd>
<dt>help</dt> <dd><ex>:h[elp]</ex> command</dd>
<dt>javascript</dt> <dd><ex>:javascript!</ex> or <ex>:js!</ex> command</dd>
<dt>prefs</dt> <dd><ex>:pref[erences]!</ex> or <ex>:prefs!</ex> command</dd>
</dl>
</description>
</item>
<item>
<tags>'noonline' 'online'</tags>
<spec>'online'</spec>
<type>boolean</type>
<default>on</default>
<description>
<p>Show and set the 'work offline' behavior.</p>
</description>
</item>
<item>
<tags>'pageinfo' 'pa'</tags>
<spec>'pageinfo' 'pa'</spec>
<type>charlist</type>
<default>gfm</default>
<description>
<p>Desired info in the <ex>:pageinfo</ex> output.</p>
<p>Available items:</p>
<dl>
<dt>g</dt> <dd>General info</dd>
<dt>f</dt> <dd>Feeds</dd>
<dt>m</dt> <dd>Meta tags</dd>
</dl>
<p>
The order of the options defines the order in which they appear in
the result.
</p>
</description>
</item>
<item>
<tags>'pps' 'popups'</tags>
<spec>'popups' 'pps'</spec>
<type>stringlist</type>
<default>tab</default>
<description>
<p>
Define where to show requested popup windows. Does not apply to
windows which are opened by middle clicking a link, they always open
in a new tab.
</p>
<p>Possible values:</p>
<dl>
<dt>tab</dt> <dd>Open popups in a new tab</dd>
<dt>window</dt> <dd>Open popups in a new window</dd>
<dt>resized</dt> <dd>Open resized popups in a new window</dd>
</dl>
<p>
If neither <em>tab</em> nor <em>window</em> is provided, all popups open in the current tab.
<em>tab</em> and <em>window</em> are mutually exclusive, and the last one listed is
effective.
</p>
<note>This option does not change the popup blocker of &liberator.host; in any way.</note>
</description>
</item>
<item>
<tags>'previouspattern'</tags>
<spec>'previouspattern'</spec>
<type>stringlist</type>
<default><![CDATA[\bprev|previous\b,^<$,^(<<|«)$,^(<|«),(<|«)$]]></default>
<description>
<p>
Patterns to use when guessing the <o>previous</o> page in a document
sequence when the user hits <ex>[[</ex>. Each pattern, in order, is
matched against all links in the page with the first match being
used. The patterns are case insensitive regular expressions and the
link elements are those defined by <o>hinttags</o>.
</p>
</description>
</item>
<item>
<tags>$&liberator.idname;_RUNTIME</tags>
<tags>'rtp' 'runtimepath'</tags>
<spec>'runtimepath' 'rtp'</spec>
<type>stringlist</type>
<default type="plain"><str>$&liberator.idname;_RUNTIME</str> or
Unix, Mac: <str>~/.&liberator.name;</str>,
Windows: <str>~/&liberator.name;</str></default>
<description>
<p>List of directories searched for runtime files:</p>
<ul>
<li>colors/</li>
<li>macros/</li>
<li>plugin/</li>
</ul>
<p>Example:</p>
<code><ex>:set runtimepath=<str>~/my&liberator.name;,~/.&liberator.name;</str></ex></code>
<p>
This will search for plugins in both
<str>~/my&liberator.name;/plugin</str> and
<str>~/.&liberator.name;/plugin</str>
</p>
<p>
On startup, if the environment variable <em>$&liberator.idname;_RUNTIME</em> does not
exist, &liberator.appname; will set it to match this value.
</p>
</description>
</item>
<item>
<tags>'si' 'sanitizeitems'</tags>
<spec>'sanitizeitems' 'si'</spec>
<type>stringlist</type>
<default>cache,commandline,cookies,formdata,history,marks,sessions</default>
<description>
<p>The default list of private items to sanitize.</p>
<dl>
<dt>cache </dt> <dd>Cache</dd>
<dt>commandline </dt> <dd>Command-line history</dd>
<dt>cookies </dt> <dd>Cookies</dd>
<dt>downloads </dt> <dd>Download history</dd>
<dt>formdata </dt> <dd>Saved form and search history</dd>
<dt>history </dt> <dd>Browsing history</dd>
<dt>marks </dt> <dd>Local and URL marks</dd>
<dt>macros </dt> <dd>Saved macros</dd>
<dt>offlineapps </dt> <dd>Offline website data</dd>
<dt>passwords </dt> <dd>Saved passwords</dd>
<dt>sessions </dt> <dd>Authenticated sessions</dd>
<dt>sitesettings</dt> <dd>Site preferences</dd>
</dl>
<p>
When history items are sanitized <ex>:open</ex>,
<ex>:tabopen</ex> and <ex>:winopen</ex> command-line
history entries are also removed.
</p>
</description>
</item>
<item>
<tags>'sts' 'sanitizetimespan'</tags>
<spec>'sanitizetimespan' 'sts'</spec>
<type>number</type>
<default>1</default>
<description>
<p>
The default sanitizer time span. Only items created within this timespan are
deleted.
</p>
<note>This only applies to <em>cookies</em>, <em>history</em>, <em>formdata</em>, and <em>downloads</em>.</note>
<dl>
<dt>0</dt> <dd>Everything</dd>
<dt>1</dt> <dd>Last hour</dd>
<dt>2</dt> <dd>Last two hours</dd>
<dt>3</dt> <dd>Last four hours</dd>
<dt>4</dt> <dd>Today</dd>
</dl>
</description>
</item>
<item>
<tags>'scr' 'scroll'</tags>
<spec>'scroll' 'scr'</spec>
<type>number</type>
<default>0</default>
<description>
<p>
Number of lines to scroll with <k name="C-u"/> and <k name="C-d"/>
commands. The number of lines scrolled defaults to half the window
size. When a [count] is specified to the <k name="C-u"/> or
<k name="C-d"/> commands this is used to set the value of
<o>scroll</o> and also used for the current command. The value can
be reset to half the window height with <ex>:set scroll=0</ex>.
</p>
</description>
</item>
<item>
<tags>'shell' 'sh'</tags>
<spec>'shell' 'sh'</spec>
<type>string</type>
<default>_$SHELL_ or "sh", Win32: "cmd.exe"</default>
<description>
<p>Shell to use for executing <ex>:!</ex> and <ex>:run</ex> commands.</p>
</description>
</item>
<item>
<tags>'shellcmdflag' 'shcf'</tags>
<spec>'shellcmdflag' 'shcf'</spec>
<type>string</type>
<default type="plain"><str>-c</str>, Win32: <str>/c</str></default>
<description>
<p>Flag passed to shell when executing <ex>:!</ex> and <ex>:run</ex> commands.</p>
<example><str>bash -c gvim</str></example>
</description>
</item>
<item>
<tags>'nosmd' 'noshowmode'</tags>
<tags>'smd' 'showmode'</tags>
<spec>'showmode' 'smd'</spec>
<type>boolean</type>
<default>on</default>
<description>
<p>Show the current mode in the command line.</p>
</description>
</item>
<item>
<tags>'ssli' 'showstatuslinks'</tags>
<spec>'showstatuslinks' 'ssli'</spec>
<type>number</type>
<default>1</default>
<description>
<p>
Show the destination of the link under the cursor in the status bar.
Also links which are focused by keyboard commands like
<k name="Tab"/> are shown.
</p>
<p>Possible values:</p>
<dl>
<dt>0</dt> <dd>Don't show link destination</dd>
<dt>1</dt> <dd>Show the link in the status line</dd>
<dt>2</dt> <dd>Show the link in the command line</dd>
</dl>
</description>
</item>
<item>
<tags>'stal' 'showtabline'</tags>
<spec>'showtabline' 'stal'</spec>
<type>number</type>
<default>2</default>
<description>
<p>Control when to show the tab bar of opened web pages.</p>
<p>Possible values:</p>
<dl>
<dt>0</dt> <dd>Never show tab bar</dd>
<dt>1</dt> <dd>Show tab bar only if more than one tab is open</dd>
<dt>2</dt> <dd>Always show tab bar</dd>
</dl>
</description>
</item>
<item>
<tags>'noscs' 'nosmartcase'</tags>
<tags>'scs' 'smartcase'</tags>
<spec>'smartcase' 'scs'</spec>
<type>boolean</type>
<default>on</default>
<description>
<p>
Override the <o>ignorecase</o> option if the pattern contains
uppercase characters. This is only used if the <o>ignorecase</o>
option is set.
</p>
</description>
</item>
<item>
<tags>'suggestengines'</tags>
<spec>'suggestengines'</spec>
<type>stringlist</type>
<default>google</default>
<description>
<p>
Set the search engines which can be used for completion suggestions.
Add <str>S</str> to the <o>complete</o> option if you want to use
this feature.
</p>
<warning>
This feature could make tab-completion slower because it needs to
wait for changes, so use it only if you have a fast internet
connection.
</warning>
</description>
</item>
<item>
<tags>'titlestring'</tags>
<spec>'titlestring'</spec>
<type>string</type>
<default>&liberator.appname;</default>
<description>
<p>
Change the title of the browser window. &liberator.appname; changes the
browser title from <str>Title of web page - Mozilla &liberator.host;</str>
to <str>Title of web page - &liberator.appname;</str>. If you don't like
that, you can restore it with:
</p>
<code><ex>:set titlestring=<str>Mozilla &liberator.host;</str></ex></code>
</description>
</item>
<item>
<tags>'noum' 'nousermode'</tags>
<tags>'um' 'usermode'</tags>
<spec>'usermode' 'um'</spec>
<type>boolean</type>
<default>off</default>
<description>
<p>Show current website with a minimal style sheet to make it easily accessible.</p>
<note>This is a local option for now, a global value may be supported in the future.</note>
</description>
</item>
<item>
<tags>'urlseparator'</tags>
<spec>'urlseparator'</spec>
<type>string</type>
<default>,\s</default>
<description>
<p>
Set the separator regex used to separate multiple URL args. Multiple
arguments can be specified for <ex>:open</ex>, and similar commands,
using this regex as the separator. Using whitespace alone is not
generally useful since it is often contained in a single argument.
E.g., <ex>:open linus torvalds</ex> should perform a single search
for the key words <str>linus</str> and <str>torvalds</str>. If this
is set to the empty string then these arguments will never be split.
</p>
</description>
</item>
<item>
<tags>'verbose', 'vbs'</tags>
<spec>'verbose' 'vbs'</spec>
<type>number</type>
<default>1</default>
<description>
<p>
Define which info messages are displayed. When bigger than zero,
&liberator.appname; will give messages about what it is doing. These can be
viewed at any time with the <ex>:messages</ex> command. The highest
value is 15, being the most verbose mode.
</p>
<!-- TODO: list levels and associated messages -->
</description>
</item>
<item>
<tags>'novb' 'novisualbell'</tags>
<tags>'vb' 'visualbell'</tags>
<spec>'visualbell' 'vb'</spec>
<type>boolean</type>
<default>off</default>
<description>
<p>
Use visual bell instead of beeping on errors. The visual bell style is
controlled by <ex>:hi Bell</ex>.
</p>
<p>
To disable both the audible and visual bells use <ex>:set visualbell</ex>
and <ex>:hi Bell display: none;</ex>
</p>
</description>
</item>
<item>
<tags>'wildcase' 'wic'</tags>
<spec>'wildcase' 'wic'</spec>
<type>string</type>
<default>smart</default>
<description>
<p>Defines how completions are matched with regard to character case. Possible values:</p>
<dl>
<dt><str>smart</str></dt> <dd>Case is significant when capital letters are typed</dd>
<dt><str>match</str></dt> <dd>Case is always significant</dd>
<dt><str>ignore</str></dt> <dd>Case is never significant</dd>
</dl>
</description>
</item>
<item>
<tags>'wildignore' 'wig'</tags>
<spec>'wildignore' 'wig'</spec>
<type>stringlist</type>
<default></default>
<description>
<p>
List of file patterns to ignore when completing files. E.g., to ignore object
files and Vim swap files
<ex>:set wildignore=<str>.<em>\\.o,\\..</em>\\.s[a-z]\\<a>2</a></str></ex>
</p>
<note>Unlike Vim each pattern is a regex rather than a glob.</note>
</description>
</item>
<item>
<tags>'wim' 'wildmode'</tags>
<spec>'wildmode' 'wim'</spec>
<type>stringlist</type>
<default>list:full</default>
<description>
<p>
Defines how command-line completion works. It is a comma-separated
list of parts, where each part specifies what to do for each
consecutive use of the completion key. The first part specifies the
behavior for the first use of the completion key, the second part
for the second use, etc.
</p>
<p>These are the possible values for each part:</p>
<dl>
<dt><str></str></dt> <dd>Complete only the first match.</dd>
<dt><str>full</str></dt> <dd>Complete the next full match. After the last, the original string is used.</dd>
<dt><str>longest</str></dt> <dd>Complete till the longest common string.</dd>
<dt><str>list</str></dt> <dd>When more than one match, list all matches.</dd>
<dt><str>list:full</str></dt> <dd>When more than one match, list all matches and complete the first match.</dd>
<dt><str>list:longest</str></dt>
<dd>
When more than one match, list all matches and
complete till the longest common string. When there
is only a single match, it is fully completed
regardless of the case.
</dd>
</dl>
</description>
</item>
<item>
<tags>'wop' 'wildoptions'</tags>
<spec>'wildoptions' 'wop'</spec>
<type>stringlist</type>
<default></default>
<description>
<p>A list of words that change how command-line completion is done.</p>
<p>Possible words:</p>
<dl>
<dt>auto</dt> <dd>Automatically show completions while you are typing.</dd>
<dt>sort</dt> <dd>Always sort the completion list, overriding the <o>complete</o> option.</dd>
</dl>
</description>
</item>
<item>
<tags>'wsp' 'wordseparators'</tags>
<spec>'wordseparators' 'wsp'</spec>
<type>string</type>
<default><![CDATA[[\.,!\?:;/\\"\^\$%&?\(\)\[\]\\<a>\\</a><>#\\*\+\\|=~ _\\-]]]></default>
<description>
<p>
A regex which defines the word separators which are used for the
<o>hintmatching</o> types <str>wordstartswith</str> and
"firstletters" to split the words in the text of a link.
</p>
</description>
</item>
</document>
<!-- vim:se sts=4 sw=4 et: -->
|