buffer document
Vimperator holds exactly one buffer object for each tab. It is usually an (X)HTML document with advanced features.
Buffer information | buffer-information |
<C-g>
Print the current file name. Also shows some additional file information like file size or the last modified date. If {count} is given print the current file name with full path.
g<C-g>
Print file information. Same as :pa[geinfo].
:pa :pageinfo
Show various page information. See :help 'pageinfo' for available options.
gf
View source. Opens the source code of the current web site with the internal editor in the current tab.
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. For now the external editor must be able to download and open files from a remote URL.
:vie :viewsource
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.
Motion commands | scrolling motion |
^ 0
Scroll to the absolute left of the document. Unlike in Vim, 0 and ^ work exactly the same way.
$
Scroll to the absolute right of the document
<Home> gg
Goto the top of the document. When used with [count] like in 35gg, it scrolls to 35% of the document.
<End> G
Goto the end of the document. When used with [count] like in 35G, it scrolls to 35% of the document.
<Left> h
Scroll document to the left. Count is supported: 10h will move 10 times as much to the left.
If the document cannot scroll more, a beep is emitted (unless 'visualbell' is set).
<C-e> <Down> j
Scroll document down. Count is supported: 10j will move 10 times as much down.
If the document cannot scroll more, a beep is emitted (unless 'visualbell' is set).
<C-y> <Up> k
Scroll document up. Count is supported: 10k will move 10 times as much up.
If the document cannot scroll more, a beep is emitted (unless 'visualbell' is set).
<C-d>
Scroll window downwards in the buffer. The number of lines is set by the 'scroll' option which defaults to half a page. If [count] is given 'scroll' is first set to this value.
<C-u>
Scroll window upwards in the buffer. The number of lines is set by the 'scroll' option which defaults to half a page. If [count] is given 'scroll' is first set to this value.
<Right> l
Scroll document to the right. Count is supported: 10l will move 10 times as much to the right.
If the document cannot scroll more, a beep is emitted (unless 'visualbell' is set).
<S-Space> <PageUp> <C-b>
Scroll up a full page. Scroll window [count] pages Backwards (upwards) in the buffer.
<Space> <PageDown> <C-f>
Scroll down a full page. Scroll window [count] pages Forwards (downwards) in the buffer.
Jumping to elements | jumping |
<Tab>
Advance keyboard focus to the next element.
<S-Tab>
Rewind keyboard focus to the previous element.
gi
Focus last used input field. If there is no last input field, it focuses the first input field. When used with [count] it directly jumps to the [count]th input field.
]f
Focus next frame. Transfer keyboard focus to the [count]th next frame in order. The newly focused frame is briefly colored red. Does not wrap.
[f
Focus previous frame. Transfer keyboard focus to the [count]th previous frame in order. The newly focused frame is briefly colored red. Does not wrap.
]]
Open link labeled with "next" or ">". Useful when browsing forums or documentation. Change 'nextpattern' to modify its behavior. It follows relations between files too.
[[
Open link labeled with "prev", "previous" or "<". Useful when browsing forums or documentation. Change 'previouspattern' to modify its behavior. It follows relations between files too.
Zooming | zooming |
+ zi
Enlarge text zoom of current web page. Mnemonic: zoom in
zm
Enlarge text zoom of current web page by a larger amount. Mnemonic: zoom more
- zo
Reduce text zoom of current web page. Mnemonic: zoom out
zr
Reduce text zoom of current web page by a larger amount. Mnemonic: zoom reduce
zz
Set text zoom value of current web page. Zoom value can be between 1 and 2000%. If it is omitted, text zoom is reset to 100%.
zI
Enlarge full zoom of current web page. Mnemonic: zoom in
zM
Enlarge full zoom of current web page by a larger amount. Mnemonic: zoom more
zO
Reduce full zoom of current web page. Mnemonic: zoom out
zR
Reduce full zoom of current web page by a larger amount. Mnemonic: zoom reduce
zZ
Set full zoom value of current web page. Zoom value can be between 1 and 2000%. If it is omitted, full zoom is reset to 100%.
:zo :zoom
Set zoom value of current web page. If [value] can be an absolute value between 1 and 2000% 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.
Copying text | yanking copying |
When running in X11 the text of the following commands is not only copied to the clipboard, but also put into the X11 selection, which can be pasted with the middle mouse button:
y
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.
Y
Copy currently selected text to the system clipboard.
Alternate style sheets | style stylesheet |
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
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.