vimperator cheatsheet

follow links

f   # go to hint mode, open a link in current tab
F   # go to hint mode, open a link in a new tab

disable Vimperator

<S-Esc> / <Insert>  # disable all Vimperator keys
i   # go to ignore mode, ignore the next key only
I / :ignorekeys  # disable Vimperator for current page/domain

tabs

t URL   # open URL in new tab
o URL   # open URL in current tab
w URL   # open URL in a new window
P       # open/search current clipboard content(selection) in new tab

g0  # go to the first tab
g$  # go to the last tab
gt  # go to the next tab
gT  # go to the previous tab

b N # go to the Nth tab
:tn N   # go to the Nth tab

u   # reopen a closed tab
:tabduplicate   # duplicate current tab

~   # open your home directory

navigation

H, Ctrl + o    # go to previous(Older) page
L, Ctrl + i    # go to next page
Ctrl + ^    # alternate between two tabs
hist    # show history
:history!   # open a history url in new tab

# may be useful in some scenario, such as image galleries, blog posts, etc
Ctrl+a  # increase the number in current url, and go to that url
Ctrl+x  # decrease the number in current url, and go to that url

r   # reload current page
R   # reload current page, skipping the cache

<C-c>, :stop    # stop loading current page

bookmarks, quickmarks and local marks

they are all presistent

# bookmarks
a   # add a bookmark
A   # toggle bookmark status of current tab

# quickmarks
M[a-zA-Z0-9]    # add new quickmark for current URL
go<mark>    # go to <mark> in current tab
gn<mark>    # go to <mark> in a new tab

# local marks
m[a-zA-Z]   # set mark at cursor position, [a-z] are local to the buffer, [A-Z] are valid between buffers
'<mark> # go to <mark> position, [a-z]

copy text

/<find text>  # find text
c   # go to CARET mode
v   # go to VISUAL mode
<selecting command> # select text you want
y   # yank selection

insert text

gi  # go to (last used) first input box, will put you in insert mode
[n]gi   # go to the nth input box

<C-i>  # call the external editor to input text, the editor is set by 'editor' option

options

set editor  # get value of 'editor' option
set editor='gedit'  # set value for 'editor'

save settings

:mkv    # save current settings to $HOME/.vimperatorrc

close

:q[uit]     # quit current tab
:winc[lose] # close window
ZZ, :xall   # quit and save
ZQ, :qall   # quit without save

map

:map gr t https://www.google.com/reader  # map the 'gr' key as open Google Reader in a new tab 

:map aa :set gui=all<CR>                 # show all toolbars
:map bb :set gui=none,tabs<CR>           # show only the tabs toolbar

page actions

[count]gg, [count]G, [count]%   # scroll to [count] percent of the document

<C-g>   # print current file name  
:pageinfo   # print file information

gf  # view source code/back to page
gF  # view source with an the external editor

]f  # focus next frame
[f  # focus previous frame
:frameo[nly]    # show only the current frame

]]  # follow the next link, which is found by the 'nextpattern' option
[[  # follow the prev link, which is found by the 'previouspattern' option

zi  # enlarge text zoom level
zo  # reduce text zoom level
[count]zz  # zoom text to 100% w/o count; to count zoom level if count is specified

zI  # enlarge full zoom level
zO  # reduce full zoom level

access firefox

:dialog  # access firefox's dialogs 
:bmarks  # access bookmarks
:history # access history
:emenu   # access firefox's menu
:addons # access firefox's addons dialog

gui

:set toolbars=menu  # show firefox menu bar, firefox bars are named: menu, navigation, tabs, bookmarks, addons
:set toolbars=noaddons  # hide firefox addons bar

misc

:cd [-|path]    # change directory
:pw[d]          # print current directory
;y              # copy link url

Vimperator settings (macros/quickmarks/local-marks/ignored-keys/etc) are stored in this folder ~/.vimperator/

reference

Sources:
Turbocharge Firefox Browser With Vim Editor Functionality Using Vimperator Add-on