summaryrefslogtreecommitdiff
path: root/common/locale/en-US/buffer.xml
blob: 9fc9b8e365cc733886f4ef56d3b8bfd8a1cc9e1e (plain)
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
<?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="buffer"
    title="&liberator.appname; Buffer"
    xmlns="http://vimperator.org/namespaces/liberator"
    xmlns:html="http://www.w3.org/1999/xhtml">
<h2 tag="buffer document">Buffer</h2>

Vimperator holds exactly one buffer object for each tab. It is usually an
(X)HTML document with advanced features.

<h2 tag="buffer-information">Buffer information</h2>

<item>
    <tags><![CDATA[<C-g>]]></tags>
    <spec>&lt;C-g></spec>
    <description>
        <p>
            Print the current file name. Also shows some additional file information like
            file size or the last modified date.
        </p>
    </description>
</item>


<item>
    <tags><![CDATA[g<C-g>]]></tags>
    <spec>g&lt;C-g></spec>
    <description>
        <p>Print file information. Same as <ex>:pa<oa>geinfo</oa></ex>.</p>
    </description>
</item>


<item>
    <tags>:pa :pageinfo</tags>
    <spec>:pa<oa>geinfo</oa></spec>
    <description>
        <p>Show various page information. See <ex>:help <o>pageinfo</o></ex> for available options.</p>
    </description>
</item>


<item>
    <tags>gf</tags>
    <spec>gf</spec>
    <description>
        <p>
            View source. Opens the source code of the current web site with the internal
            editor in the current tab.
        </p>
    </description>
</item>


<item>
    <tags>gF</tags>
    <spec>gF</spec>
    <description>
        <p>
            View source with an external editor. Opens the source code of the current web
            site with the external editor specified by the <o>editor</o> option. For now the
            external editor must be able to download and open files from a remote URL.
        </p>
    </description>
</item>


<item>
    <tags>:vie :viewsource</tags>
    <spec>:vie<oa>wsource</oa><oa>!</oa> <oa>url</oa></spec>
    <description>
        <p>
            View source code of current document. If <oa>url</oa> is specified then view the
            source of that document. When <oa>!</oa> is given, it is opened with the external
            editor.
        </p>
    </description>
</item>


<item>
    <tags>|</tags>
    <spec>|</spec>
    <description>
        <p>
            Toggle between rendered and source view. Alternates the page in the current tab
            between a normally rendered view and the internal editor source view.
        </p>
    </description>
</item>


<h2 tag="motion scrolling">Motion commands</h2>

<item>
    <tags>^ 0</tags>
    <spec>0</spec>
    <description>
        <p>
            Scroll to the absolute left of the document. Unlike in Vim, <k>0</k> and <k>^</k>
            work exactly the same way.
        </p>
    </description>
</item>


<item>
    <tags>$</tags>
    <spec>$</spec>
    <description>
        <p>Scroll to the absolute right of the document</p>
    </description>
</item>


<item>
    <tags><![CDATA[<Home> gg]]></tags>
    <spec><oa>count</oa>gg</spec>
    <description>
        <p>
            Go to the top of the document. When used with <oa>count</oa> like in <k>35gg</k>, it
            scrolls to 35% of the document.
        </p>
    </description>
</item>


<item>
    <tags><![CDATA[<End> G]]></tags>
    <spec><oa>count</oa>G</spec>
    <description>
        <p>
            Go to the end of the document. When used with <oa>count</oa> like in <k>35G</k>, it
            scrolls to 35% of the document.
        </p>
    </description>
</item>


<item>
    <tags>N%</tags>
    <spec><a>count</a>%</spec>
    <description>
        <p>Scroll to <a>count</a> percent of the document.</p>
    </description>
</item>


<item>
    <tags><![CDATA[<Left> h]]></tags>
    <spec><oa>count</oa>h</spec>
    <description>
        <p>
            Scroll document to the left. If <oa>count</oa> is specified then move <oa>count</oa> times as
            much to the left.
        </p>
        <p>
            If the document cannot scroll more, a beep is emitted (unless <o>visualbell</o> is
            set).
        </p>
    </description>
</item>


<item>
    <tags><![CDATA[<C-e> <Down> j]]></tags>
    <spec><oa>count</oa>j</spec>
    <description>
        <p>
            Scroll document down. If <oa>count</oa> is specified then move <oa>count</oa> times as much
            down.
        </p>
        <p>
            If the document cannot scroll more, a beep is emitted (unless <o>visualbell</o> is
            set).
        </p>
    </description>
</item>


<item>
    <tags><![CDATA[<C-y> <Up> k]]></tags>
    <spec><oa>count</oa>k</spec>
    <description>
        <p>
            Scroll document up. If <oa>count</oa> is specified then move <oa>count</oa> times as much up.
        </p>
        <p>
            If the document cannot scroll more, a beep is emitted (unless <o>visualbell</o> is
            set).
        </p>
    </description>
</item>


<item>
    <tags><![CDATA[<Right> l]]></tags>
    <spec><oa>count</oa>l</spec>
    <description>
        <p>
            Scroll document to the right. If <oa>count</oa> is specified then move <oa>count</oa> times
            as much to the right.
        </p>
        <p>
            If the document cannot scroll more, a beep is emitted (unless <o>visualbell</o> is
            set).
        </p>
    </description>
</item>


<item>
    <tags><![CDATA[<C-d>]]></tags>
    <spec><oa>count</oa>&lt;C-d></spec>
    <description>
        <p>
            Scroll window downwards in the buffer. The number of lines is set by the
            <o>scroll</o> option which defaults to half a page. If <oa>count</oa> is given <o>scroll</o> is
            first set to this value.
        </p>
    </description>
</item>


<item>
    <tags><![CDATA[<C-u>]]></tags>
    <spec><oa>count</oa>&lt;C-u></spec>
    <description>
        <p>
            Scroll window upwards in the buffer. The number of lines is set by the
            <o>scroll</o> option which defaults to half a page. If <oa>count</oa> is given <o>scroll</o> is
            first set to this value.
        </p>
    </description>
</item>


<item>
    <tags><![CDATA[<S-Space> <PageUp> <C-b>]]></tags>
    <spec><oa>count</oa>&lt;C-b></spec>
    <description>
        <p>Scroll up a full page. Scroll window <oa>count</oa> pages Backwards (upwards) in the buffer.</p>
    </description>
</item>


<item>
    <tags><![CDATA[<Space> <PageDown> <C-f>]]></tags>
    <spec><oa>count</oa>&lt;C-f></spec>
    <description>
        <p>Scroll down a full page. Scroll window <oa>count</oa> pages Forwards (downwards) in the buffer.</p>
    </description>
</item>


<h2 tag="jumping">Jumping to elements</h2>

<item>
    <tags><![CDATA[<Tab>]]></tags>
    <spec>&lt;Tab></spec>
    <description>
        <p>Advance keyboard focus to the next element.</p>
    </description>
</item>


<item>
    <tags><![CDATA[<S-Tab>]]></tags>
    <spec>&lt;S-Tab></spec>
    <description>
        <p>Rewind keyboard focus to the previous element.</p>
    </description>
</item>


<item>
    <tags>gi</tags>
    <spec><oa>count</oa>gi</spec>
    <description>
        <p>
            Focus last used input field. If there is no last input field, it focuses the
            first input field. When used with <oa>count</oa> it directly jumps to the <oa>count</oa>th input
            field.
        </p>
    </description>
</item>


<item>
    <tags>]f</tags>
    <spec><oa>count</oa>]f</spec>
    <description>
        <p>
            Focus next frame. Transfer keyboard focus to the <oa>count</oa>th next frame in
            order. The newly focused frame is briefly colored red. Does not wrap.
        </p>
    </description>
</item>


<item>
    <tags>[f</tags>
    <spec><oa>count</oa>[f</spec>
    <description>
        <p>
            Focus previous frame. Transfer keyboard focus to the <oa>count</oa>th previous frame
            in order. The newly focused frame is briefly colored red. Does not wrap.
        </p>
    </description>
</item>


<item>
    <tags>]]</tags>
    <spec><oa>count</oa>]]</spec>
    <description>
        <p>
            Follow the link labeled <str>next</str> or <str>></str>
            if it exists. Useful when browsing forums or
            documentation. Change <o>nextpattern</o> to modify its
            behavior. It follows relations between files too.
        </p>
    </description>
</item>


<item>
    <tags>[[</tags>
    <spec><oa>count</oa>[[</spec>
    <description>
        <p>
            Follow the link labeled <str>prev</str>,
            <str>previous</str> or <str>&lt;</str> if it exists. Useful
            when browsing forums or documentation. Change
            <o>previouspattern</o> to modify its behavior. It
            follows relations between files too.
        </p>
    </description>
</item>


<h2 tag="zooming zoom">Zooming</h2>

The zooming commands are dependent on two properties -- a zoom range and a
series of levels within that range.

The absolute value of the page zoom is limited to a value within the configured
zoom range (default: 30%--300%). The zoom levels are used by
<k>zi</k>/<k>zo</k>, and similar commands, to change the zoom value in steps. The
default zoom levels are 30%, 50%, 67%, 80%, 90%, 100%, 110%, 120%, 133%, 150%,
170%, 200%, 240%, 300%.

The available zoom range can be changed by setting the
<link topic="http://kb.mozillazine.org/Zoom.minPercent">'zoom.minPercent'</link> and
<link topic="http://kb.mozillazine.org/Zoom.maxPercent">'zoom.maxPercent'</link> Firefox
preferences. The zoom levels can be changed using the
<link topic="http://kb.mozillazine.org/Toolkit.zoomManager.zoomValues">'toolkit.ZoomManager.zoomLevels'</link>
preference.

<note>
    'toolkit.ZoomManager.zoomLevels' is specified as a list of
    values between 0 and 1, not as a percentage.
</note>

<item>
    <tags>+ zi</tags>
    <spec><oa>count</oa>zi</spec>
    <description>
        <p>Enlarge text zoom of current web page. Mnemonic: zoom in.</p>
    </description>
</item>


<item>
    <tags>zm</tags>
    <spec><oa>count</oa>zm</spec>
    <description>
        <p>Enlarge text zoom of current web page by a larger amount. Mnemonic: zoom more.</p>
    </description>
</item>


<item>
    <tags>- zo</tags>
    <spec><oa>count</oa>zo</spec>
    <description>
        <p>Reduce text zoom of current web page. Mnemonic: zoom out.</p>
    </description>
</item>


<item>
    <tags>zr</tags>
    <spec><oa>count</oa>zr</spec>
    <description>
        <p>Reduce text zoom of current web page by a larger amount. Mnemonic: zoom reduce.</p>
    </description>
</item>


<item>
    <tags>zz</tags>
    <spec><oa>count</oa>zz</spec>
    <description>
        <p>
            Set text zoom value of current web page. Zoom value can be between 30% and 300%.
            If it is omitted, text zoom is reset to 100%.
        </p>
    </description>
</item>


<item>
    <tags>zI</tags>
    <spec><oa>count</oa>zI</spec>
    <description>
        <p>Enlarge full zoom of current web page. Mnemonic: zoom in.</p>
    </description>
</item>


<item>
    <tags>zM</tags>
    <spec><oa>count</oa>zM</spec>
    <description>
        <p>Enlarge full zoom of current web page by a larger amount. Mnemonic: zoom more.</p>
    </description>
</item>


<item>
    <tags>zO</tags>
    <spec><oa>count</oa>zO</spec>
    <description>
        <p>Reduce full zoom of current web page. Mnemonic: zoom out.</p>
    </description>
</item>


<item>
    <tags>zR</tags>
    <spec><oa>count</oa>zR</spec>
    <description>
        <p>Reduce full zoom of current web page by a larger amount. Mnemonic: zoom reduce.</p>
    </description>
</item>


<item>
    <tags>zZ</tags>
    <spec><oa>count</oa>zZ</spec>
    <description>
        <p>
            Set full zoom value of current web page. Zoom value can be between 30 and
            300%. If it is omitted, full zoom is reset to 100%.
        </p>
    </description>
</item>


<item>
    <tags>:zo :zoom</tags>
    <spec>:zo<oa>om</oa><oa>!</oa> <oa>value</oa></spec>
    <spec>:zo<oa>om</oa><oa>!</oa> +<a>value</a> | -<a>value</a></spec>
    <description>
        <p>
            Set zoom value of current web page. <oa>value</oa> can be an absolute value
            between 30% and 300% or a relative value if prefixed with "-" or "+". If
            <oa>value</oa> is omitted, zoom is reset to 100%.
        </p>
        
        <p>
            Normally this command operates on the text zoom; if used with <oa>!</oa>, it
            operates on full zoom.
        </p>
    </description>
</item>


<h2 tag="frames">Working with frames</h2>

<item>
    <tags>:frameo :frameonly</tags>
    <spec>:frameo<oa>nly</oa></spec>
    <description>
        <p>Show only the current frame's page.</p>
    </description>
</item>


<h2 tag="copying yanking">Copying text</h2>

When running in X11, the text of the following commands is not only
copied to the clipboard but is also put into the X11 selection, which
can be pasted with the middle mouse button:

<item>
    <tags>y</tags>
    <spec>y</spec>
    <description>
        <p>
            Yank current location to the clipboard. When running in X11 the location is
            also put into the selection, which can be pasted with the middle mouse button.
        </p>
    </description>
</item>


<item>
    <tags>Y</tags>
    <spec>Y</spec>
    <description>
        <p>Copy currently selected text to the system clipboard.</p>
    </description>
</item>


<h2 tag="alternate-stylesheet">Alternate style sheets</h2>

Page authors may specify alternate style sheets for an HTML document. Users can
then switch between these various style sheets, selecting their favorite.

<item>
    <tags>:pagest :pagestyle</tags>
    <spec>:pagest<oa>yle</oa> <oa>stylesheet</oa></spec>
    <description>
        <p>
            Select the author style sheet to apply. If <oa>stylesheet</oa> is not specified
            the page's default style sheet is used.
        </p>
        
        <p>All author styling can be removed by setting the <o>usermode</o> option.</p>
    </description>
</item>


</document>

<!-- vim:se sts=4 sw=4 et: -->