buffer.xml

bufferdocument
Buffer

Contents

  1. Buffer information
  2. Motion commands
  3. Jumping to elements
  4. Zooming
  5. Working with frames
  6. Copying text
  7. Alternate style sheets

A buffer is a container that holds the given web page, including all of its history and frames. Each tab contains exactly one buffer, and for most purposes the two terms are interchangeable. See tabs for more.

buffer-information
Buffer information

<page-info><C-g>
<C-g>

Print the current file name along with basic page information including last modification time, the number of feeds present, and the page title.

<more-page-info>g<C-g>
g<C-g>

Print file information. Same as :pa[geinfo].

:pa:pageinfo
:pa[geinfo] [items]

Show various page information. The information provided is determined by the value of 'pageinfo', or [items] if present.

<view-source>gf
gf

View source. Toggles between the source and rendered content of the page.

<view-source-externally>gF
gF

View source with an external editor. Opens the source code of the current web site with the external editor specified by the 'editor' option.

:vie:viewsource
:vie[wsource][!] [url]

View source code of current document. If [url] is specified then view the source of that document. When [!] is given, it is opened with the external editor.

motionscrolling
Motion commands

<scroll-begin>^0
0

Scroll to the absolute left of the document. Unlike in Vim, 0 and ^ work exactly the same way.

<scroll-end>$
$

Scroll to the absolute right of the document

<scroll-top><Home>gg
[count]gg

Go to the top of the document. With [count], scroll vertically to [count] percent of the document.

<scroll-bottom><End>G
[count]G

Go to the end of the document. With [count], behaves exactly the same as [gg].

<scroll-percent>N%
{count}%

Scroll to {count} percent of the document.

<scroll-left-column><Left>h
[count]h

Scroll document to the left. If [count] is specified, repeat [count] times.

<scroll-down-line><C-e><Down>j
[count]j

Scroll document to the down. If [count] is specified, repeat [count] times.

<scroll-up-line><C-y><Up>k
[count]k

Scroll document to the up. If [count] is specified, repeat [count] times.

<scroll-right-column><Right>l
[count]l

Scroll document to the right. If [count] is specified, repeat [count] times.

<scroll-down><C-d>
[count]<C-d>

Scroll window downwards by the amount specified in the 'scroll' option. With [count], scroll as if 'scroll' were set to [count].

<scroll-up><C-u>
[count]<C-u>

Scroll window upwards by the amount specified in the 'scroll' option. With [count], scroll as if 'scroll' were set to [count].

<scroll-up-page><S-Space><PageUp><C-b>
[count]<C-b>

Scroll up a full page. With [count], scroll up [count] full pages.

<scroll-down-page><Space><PageDown><C-f>
[count]<C-f>

Scroll down a full page. With [count], scroll down [count] full pages.

jumping
Jumping to elements

<Tab>
<Tab>

Advance keyboard focus to the next element.

<S-Tab>
<S-Tab>

Rewind keyboard focus to the previous element.

<focus-input>gi
[count]gi

Focus last used input field. If there is no last input field, focus the first input field. With [count], focus the [count]th input field.

<next-frame>]f
[count]]f

Transfer keyboard focus to the [count]th next frame. The newly focused frame is briefly highlighted with FrameIndicator.

<previous-frame>[f
[count][f

Transfer keyboard focus to the [count]th next previous frame. The newly focused frame is briefly highlighted with FrameIndicator.

<next-page>]]
[count]]]

Follow the last link matching 'nextpattern'. Used, for instance, to move to the next page of search results.

<previous-page>[[
[count][[

Follow the last link matching 'previouspattern'. Used, for instance, to move to the previous page of search results.

[h[p[
[count][{arg}

Jump to the previous element as defined by 'jumptags'.

]h]p]
[count]]{arg}

Jump to the next element as defined by 'jumptags'.

{
[count]{

Jump to the previous paragraph. Identical to [p.

}
[count]}

Jump to the next paragraph. Identical to ]p.

zoomingzoom
Zooming

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%). By default, commands which zoom in or out select between the zoom levels, 30%, 50%, 67%, 80%, 90%, 100%, 110%, 120%, 133%, 150%, 170%, 200%, 240%, 300%.

The available zoom range can be changed by setting the 'zoom.minPercent' and 'zoom.maxPercent' Firefox preferences. The zoom levels can be changed using the 'toolkit.zoomManager.zoomValues' preference.

Note: 'toolkit.zoomManager.zoomValues' is specified as a list of values between 0 and 1 rather than percentages. For instance, 0.5 is equivalent to 50%.

<text-zoom-in>+zi
[count]zi

Enlarge text zoom of current web page. Mnemonic: zoom in.

<text-zoom-more>zm
[count]zm

Enlarge text zoom of current web page by a larger amount. Mnemonic: zoom more.

<text-zoom-out>-zo
[count]zo

Reduce text zoom of current web page. Mnemonic: zoom out.

<text-zoom-reduce>zr
[count]zr

Reduce text zoom of current web page by a larger amount. Mnemonic: zoom reduce.

<text-zoom>zz
[count]zz

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%.

<full-zoom-in>ZIzI
[count]ZI

Enlarge full zoom of current web page. Mnemonic: zoom in.

<full-zoom-more>ZMzM
[count]ZM

Enlarge full zoom of current web page by a larger amount. Mnemonic: zoom more.

<full-zoom-out>ZOzO
[count]ZO

Reduce full zoom of current web page. Mnemonic: zoom out.

<full-zoom-reduce>ZRzR
[count]ZR

Reduce full zoom of current web page by a larger amount. Mnemonic: zoom reduce.

<full-zoom>zZ
[count]zZ

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%.

:zo:zoom
:zo[om][!] [value]
:zo[om][!] +{value}
:zo[om][!] -{value}

Set zoom value of current web page. [value] can be an absolute value between 30% and 300% or a relative value if prefixed with "-" or "+". If [value] is omitted, zoom is reset to 100%.

Normally this command operates on the text zoom; if used with [!], it operates on full zoom.

frames
Working with frames

:frameo:frameonly
:frameo[nly]

Show only the current frame's page.

copyingyanking
Copying text

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:

<yank-location>y
y

Yank current location to the clipboard.

<yank-word>Y
Y

Copy currently selected text to the system clipboard.

alternate-stylesheet
Alternate style sheets

Page authors may specify alternate style sheets for an HTML document. Users can then switch between these various style sheets, selecting their favorite.
:pagest:pagestyle
:pagest[yle] [stylesheet]

Select the author style sheet to apply. If [stylesheet] is not specified the page's default style sheet is used.

All author styling can be removed by setting the 'usermode' option.