Vimperator

Från DannoWiki
Version från den 7 juli 2026 kl. 19.37 av Danno (diskussion | bidrag) (Skapade sidan med 'Kategori:Datorer_Data_och_Program Firefox-tillägg som får FireFox att bete sig som editorn VI:<br /> ==Vimperator 3.0 och Firefox 4== *Flikraden: set toolbars= ... *Sökförslagen: set complete=slf Referens:<br /> <table cellspacing="0" cellpadding="3"> <caption>Vimperator</caption> <tr> <td valign="bottom" align="left" style=" font-size:8pt;">Keybindings</td> <td style=""></td> <td style=""></td> <td style=""></td> <td valign="bottom" align="left" style=...')
(skillnad) ← Äldre version | Nuvarande version (skillnad) | Nyare version → (skillnad)
Hoppa till navigeringHoppa till sök

Firefox-tillägg som får FireFox att bete sig som editorn VI:

Vimperator 3.0 och Firefox 4

  • Flikraden: set toolbars= ...
  • Sökförslagen: set complete=slf

Referens:

Vimperator
Keybindings Commands
Key Action Alt Keys Command Action Alt commands
<F1> Open help window :h :help :addo[ns] Show browser entensions and themes :addons :addo
: Start command line mode : :[count]bd[elete] Delete current buffer (tab) :bdelete :bd :bwipeout :bw :bunload :bun :tabclose :tabc
I Disable Vimperator keys l :beep Play a system beep :beep
C-v Escape next key C-v :bma[rk] [-t {title}] {url} Add a bookmark (-t custom title) (no url = current page) :bmark :bma
C-c Stop loading C-c :stop :st :bmarks [filter] Show bookmarks :bmarks
<Nop> Do nothing <Nop> :bmarks! Show bookmarks - firefox style :bmarks!
<Esc> Focus content C-[ :delbm[arks] {url} Delete bookmark that matches url :delbmarks :delbm
[count]]f Focus next frame ]f :downl[oads] Show download progress window :downloads :downl :dl
[count][f Focus previous frame [f :ha[rdcopy] Print current document :hardcopy :ha
b Open a prompt to switch buffers b <-> :buffer[!] {url|index} Go to a buffer from buffer list :buffer :b
B Toggle buffer list B <-> :buffers[!] Show a list of all buffers :buffers :files :ls :tabs
[count]gb Repeat last :buffer[!] command gb :ec[ho] {expr} Display a string at the bottom of the window :echo :ec
[count]gB Repeat last :buffer[!] command (reverse) gB :echoe[rr] {expr} Display a string at the bottom of the window in red :echoerr :echoe
[count]d Delete current buffer and [count] right d :exe[cute] {expr} [...] Execute the string that results from evaluation of {expr} :execute :exe
[count]D Delete current buffer and [count] left D :hist[ory] [filter] Show recently visited URLs :history :hist :hs
gh Go Home gh :history! Show recently visited URLs - firefox style :history! :hist! :hs!
gH Go home in new tab gH :javas[cript] {cmd} Run any JavaScript command through eval() :javascript :javas :js
M{a-zA-Z0-9} Create a QuickMark from URL M <-> :delq[marks][!] {marks} Delete the specified QuickMarks - [!] Delete all :delqmarks :delqm
go {a-zA-Z0-9} Jump to a QuickMark in current tab (see M) go <+> :qma[rk] {a-zA-Z0-9} [url] Mark a URL for quick access :qmark :qma
gn {a-zA-Z0-9} Jump to a QuickMark in new tab (see M) gn <-> :qmarks [arg] Show all Quickmarks - or limit to [arg] :qmarks
gP Open url based on clipboard gP :sav[eas] Save current web page to disk :saveas :sav :write :w
m{a-zA-Z0-9} Set a mark at current cursor position m :mark :ma <-> :delm[arks][!] {marks} Delete the specified marks for current buffer - [!] Delete all in buffer :delmarks :delm
`{a-zA-Z0-9} Jump to the mark in current buffer (see m) `' ^- :marks [arg] Show all marks of current web page :marks
[count]gt Go to the next tab gt :tabn :tabnext <-> :tab {cmd} Execute [cmd} and output to new tab -(see :tab help, :tab prefs[!]) :tab
[count]gT Go to the previous tab gT :tabp :tabprevious <+> :tabm[ove] [N] Move the current tab after tab N :tabmove :tabm
C-^ Alternate tabs C-6 :tabl :tablast <-> :tabo[nly] Close all other tabs :tabonly :tabo
o Open URL in current tab o <-> :o[pen] [url] [,url] Open one or more URL in the current tab :open :o :edit :e
O Open URL in current tab, based on location O :norm[al] {keybinding} use keybindings in command mode - ex :normal 20j :normal :norm
p Open URL based on clipboard in current tab p :pc[lose] Close preview window :pclose :pc
P Open URL based on clipboard in new tab P :pref[erences][!] Show browser preferences - [!] show about:config :preferences :pref :prefs
r Reload / Refresh r :reload <-> reloada[ll][!] Reload / Refresh all pages - [!] skip cache :reloadall :reloada
R Reload / Refresh skipping the cache R :reload[!] -^ :se[t] {option} Permanetly change an option :set :se
t Open URL in new tab t <-> :tabopen [url] [,url] Open one or more URL's in a new tab :tabopen :topen :t :tabnew :tabedit :tabe
T Open URL in new tab, based on location T :tabr[ewind] Switch to first tab :tabrewind :tabr :tabfirst :tabfir
[count]u Undo closing of tab u :[count]undo :u :undoa[ll] Undo cloasing of all closed tabs - 10 max :undoall :undoa
Y Copy selected text Y :{count}time[!] {code|:command} Runs {code} {count} times :time
y Yank current location to the clipboard y :let {var-name} Sets or lists a variable :let
[count]zi Zoom in current page by 25% zi + <-> :zo[om] [value] Set zoom value of the web page :zoom :zo
[count]zI Zoom in current page by 100% zI <+> :zo[om] +/- {value} Set zoom value relative to current size :zoom :zo
[count]zo Zoom out current page by 25% zo - </ :mkv[imperatorrc] [file] Write key mappings to ~/.vimperatorrc or [file] :mkvimperatorrc :mkv
[count]zO Zoom out current page by 100% zO |> :q[uit] Quit current tab - Quit Vimperator if last tag :quit :q
ZZ Quit and save session :xall :wqall :wqa :wq :xa <-> :quita[ll] Quit Vimperator - no matter what - no session save :quitall :quita :qall :qa
0 Scroll to absolute left ^ :sidebar {name} Open the sidebar pane - {name} = Add-ons, Downloads etc :sidebar :sideb :sbar :sb :sbopen :sbope
$ Scroll to absolute right $ :sbcl[ose] Close the sidebar pane :sbclose :sbcl
[count]gg Goto top of page - 35gg 35% from top <Home> :so[urce][!] {file} Read Ex commands from {file} - [!] Errors not printed :source :so
[count]G Goto bottom of page - 35G 25% from bottom <End> :unl[et][!] {name} Deletes a variable :unlet :unl
[count]h Scroll page to left <Left> :unm[ap] {lhs} Remove the mapping of {lhs} :unmap :unm
[count]j Scroll page down <Down> :ve[rsion][!] Show version information - [!] Firefox version :version :ve
[count]k Scroll page up <Up> :viu[sage] Show help for normal commands :viusage :vui
[count]l Scroll page to right <Right> :winc[lose] [url] [,url] Close window :winclose :winc :wclose :wc
[count]C-d Scroll page down - x lines in 'scroll' option C-d :wino[pen] [url] [,url] Open one or more URL's in a new window :winopen :wino :wopen :wo :winedit :wine
[count]C-u Scroll page up - x lines in 'scroll' option C-u :map {lhs} {rhs} Map the key sequence {lhs} to {rhs} :map
[count]C-b Scroll up a full page C-b :mapc[lear] Remove all mappings :mapclear :mapc
[count]C-f Scroll down a full page C-f :!{cmd} Run a command :! :run
[count]C-g Print the current file name, size and modify date C-g
gC-g Print file information :pa[geinfo]
[count]C-o Go to an older position in jump list (history) C-o
[count]C-i Go to a newer position in jump list (history) C-i
[count]H Go back x pages H <A-Left> <M-Left> <-> :[count]ba[ck][!] Go back in browser history [!] to beginning of history :back :ba
[count]L Go forward x pages L <A-Right> <M-Right> <-> :[count]fo[ward][!] Go forward in browser history [!] to end of history :forward :fo :fw
[count]gu Go to parent directory gu <BS>
gU Go to website root gU <C-BS>
f Start QuickHint mode - follow this by hinttag f
F Start AlwaysHint mode F
; Start Extended hint mode *more info ;
/{pattern}[/]<CR> Search forward for pattern / <-> :noh[lsearch] Remove search highlighting :nohlsearch :noh
?{pattern}[?]<CR> Search backwards for a pattern ?
n Find forward from previous search pattern n
N Find previous from last search pattern N