version 1.3.0
[vimprobable2.git] / vimprobable2.1
blob6ece993163998074dcb4280351b7c0371bb6cc4e
1 .\" Process this file with
2 .\" groff -man -Tascii vimprobable2.1
3 .\"
4 .TH VIMPROBABLE2 1 "JANUARY 2013" "Linux User Manuals"
5 .SH NAME
6 Vimprobable \- A WWW browser based on webkit with keybindings inspired by Vim, the great editor.
8 .SH SYNOPSIS
9 .B vimprobable2
10 .OP \fL\-c|\-\-config
11 .OP \fL\-e|\-\-embed
12 .OP \fL\-h|\-\-help
13 .OP \fL\-v|\-\-version
14 .OP URI
16 .SH OPTIONS
17 .TP
18 .BI -c " config file"
19 Use the specified config file.  If none found, defaults to
20 .I $HOME/.config/vimprobable/vimprobablerc
21 .TP
22 .BI -e " windowid"
23 Given the windowid of an XEmbed-aware application, Vimprobable will use that as its parent.
24 .TP
25 .BI -h
26 Prints out a short usage summary.
27 .TP
28 .BI -v
29 Prints the version of Vimprobable.
31 .SH DESCRIPTION
32 Vimprobable is a WWW browser that is built around the webkit library. Vimprobable is fast. 
33 Vimprobable comes without buttons and other graphic widgets. It is aimed at being controlled 
34 as mouselessly as possible. It uses keybindings that are inspired by Vim, the great editor.
35 .PP
36 Just like Vim, moving through a webpage can be done by entering commands at the keyboard.
37 Most of these commands require just one or two keystrokes.
38 .PP
39 Vimprobable mimics the ex-command mode of Vim. By entering a colon (:) commands like open,
40 set and map can be entered.
42 .SH QUICK START
44 Don't want to read this entire manpage? Here are a few basic steps:
46 .I "    " o
47 Insert URL from keyboard and load it
49 .I "    " t
50 Insert URL from keyboard and load it into new window
52 .I "    " j
53 Scroll down
55 .I "    " k
56 Scroll up
58 .I "    " d  
59 Close current window
61 .SH KEYBOARD BINDINGS
62 The default keyboard bindings are explained in this section. These keybindings
63 can be changed - either by the map command (changes will take effect immediately)
64 or by altering
65 .I vimprobablerc
66 (changes in effect for each new window) or editing
67 .I keymap.h
68 in the source directory (in which case you will need to recompile to see changes take effect).
70 .IP "Move through current page"
71 Vimprobable recognizes the following motion commands:
72 0, $, g, <shift>G, h, j, k, l, Ctrl-b, Ctrl-f, Ctrl-d, Ctrl-u, Ctrl-e, Ctrl-y
74 .IP "Move through pages"
75 These commands are used to walk through the browse-history.
76 Ctrl-i, Ctrl-o, <shift>H, <shift>L
79 .IP "Reloading and cancel loading"
81 .I "    " r 
82 Reload
84 .I "    " <shift>R
85 Force reload
87 .I "    " Ctrl-c
88 Cancel load
90 .IP "Zoom in and out"
92 .I "    " zi
93 Zoom text in
95 .I "    " zI
96 Zoom full content in
98 .I "    " zo
99 Zoom text out
101 .I "    " zO
102 Zoom full content out
104 .I "    " zz
105 Zoom reset
107 .I "    " zZ
108 Zoom reset
110 .IP "URL commands"
112 .I "    " y
113 Yank current URL into clipboard
115 .I "    " Y
116 Yank current selection into clipboard
118 .I "    " gu
119 Load URL one directory up
121 .I "    " gU
122 Load rootdirectory of current URL
124 .I "    " gh
125 Load homepage
127 .I "    " gH
128 Load homepage into new window
130 .I "    " p
131 Load URL from clipboard
133 .I "    " P
134 Load URL from clipboard into new window
136 .I "    " o
137 Insert URL from keyboard and load it
139 .I "    " t
140 Insert URL from keyboard and load it into new window
142 .I "    " O
143 Generate :open command with the current URL
145 .I "    " T
146 Generate :tabopen command with the current URL
148 .I "    " u
149 Open a new window with the URL which was closed last
152 .IP Search
154 .I "    " /
155 Start search
157 .I "    " ?
158 Start backward search
160 .I "    " n
161 Next search result
163 .I "    " N
164 Previous search result
167 .IP Hinting
169 .I "    " f (or ;o)
170 Follow link
172 .I "    " F (or ;t or ;w)
173 Follow link in new window
175 .I "    " ;s
176 Save the specified link (or element) to disk
178 .I "    " ;y
179 Yank the destination's location
181 .I "    " ;O
182 Generate an :open command with the link's URL (like O)
184 .I "    " ;T or ;W
185 Generate an :tabopen command with the link's URL (like T)
187 .I "    " ;i
188 Open image in current window
190 .I "    " ;I
191 Open image in new window
193 .I "    " gi
194 Focus next input field
197 .SH COLON COMMANDS
199 The following commands are entered after first entering a colon (:)
201 .IP ":open "
203 Insert URL from keyboard and load it
205 Shortcut: o
207 .IP ":tabopen "
209 Insert URL from keyboard and load it into new window
211 Shortcut: t
213 .IP ":bma or :bookmark"
215 Bookmarks the current page. 
217 Bookmarks are retrieved by tab completion when entering a new URL.
219 You can add tags to the bookmarks by entering tag terms after the command, e.g.
221 :bma tag1 tag2 tag3
223 .IP ":qt "
225 Open all bookmarks containing a certain tag in new windows.
227 .IP ":fo[rward] and :ba[ck]"
229 The commands :fo, :forward, :ba and :backward move through the browse-history
231 .IP ":re[load], :re! and :reload!"
233 The commands :re, :reload, ;re! and :reload! are given to reload or
234 force reload.
236 .IP ":st[op]"
238 Cancel current loading
240 .IP ":source"
242 Toggles between normal view and sourcecode view.
245 .IP ":set"
247 Change default settings on the fly. See 
248 .I man vimprobablerc 
249 for the list of settings to be changed.
251 .IP ":map"
253 Change default keybindings on the fly. See 
254 .I man vimprobablerc 
255 for the list of mappings to be changed.
257 .IP ":quit"
259 Close current window
261 Shortcut: d
263 .IP ":print"
265 Print the current URL
267 .IP ":zi"
269 Zooms text in
271 .IP ":zo"
273 Zooms text out
275 .IP ":pgzi"
277 Zooms page in
279 .IP ":pgzo"
281 Zooms page out
283 .SH MODES
285 Vimprobable is a modal browser. By default, it is in command mode, meaning that
286 any keystroke will be interpreted by the internal command engine. INSERT mode
287 is automatically activated if an input field on a website becomes focused.
288 Should this not work (due to limitations of the Webkit-GTK engine and the faulty
289 HTML code of some websites, this is possible), you can manually switch the
290 browser to PASSTHROUGH mode instead (Ctrl+Z). In INSERT and PASSTHROUGH modes,
291 keystrokes will not be interpreted by the browser, but passed to the underlying
292 engine/website.
294 In addition, there is HINT mode. This is activated with the "f" key by default.
295 Enter a the number of a link to follow it. Alternatively, you can enter the
296 link text (case sensitive) to narrow down your choices.
298 .SH QUICKMARKS
300 Up to 9 quickmarks can be defined. These are stored as quickmark 1 up to
301 quickmark 9.  You can store the URI of the current
302 page as quickmark with
304 .I :set qmark=<hotkey>
306 Later you can recall the quickmark with
308 .I q<hotkey>
310 Example:
312 :set qmark=4
313 Store current URI as quickmark 4
316 Recall quickmark 4
318 .SH SEARCHENGINES
320 Searchengines let you submit queries to web search engines and similar sites
321 without having to type the complete URL or visit the page first.
323 For example, if
324 .I ex
325 is defined as the shortcut for the search at example.com, you can use "ex
326 search term" instead of an URL to search there for "search term".
328 The following search engines (and shortcuts) are already defined in config.h:
330 .IP i
331 http://ixquick.com/do/metasearch.pl?query=%s
332 .IP w
333 https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special%%3ASearch&search=%s&go=Go
334 .IP wd
335 https://secure.wikimedia.org/wikipedia/de/w/index.php?title=Special%%3ASearch&search=%s&go=Go
336 .IP d
337 https://duckduckgo.com/?q=%s&t=Vimprobable
338 .IP dd
339 https://duckduckgo.com/html/?q=%s&t=Vimprobable
343 You can always overwrite them or define your own in
344 .I $HOME/.config/vimprobable/vimprobablerc.
345 See vimprobablerc (5) for details.
346 .B Default search engine
348 If Vimprobable doesn't recognize an address as a valid URL or query to one of the
349 defined search engines, it will use the default search engine instead. See
350 .BR vimprobablerc (5)
351 on how to set this default.
353 .SH URI HANDLERS
355 You can define external applications to handle requests for defined URI schemas.
357 The following URI handlers are already defined in config.h:
359 .IP ftp://
360 x-terminal-emulator -e wget %s
361 .IP mailto:
362 x-terminal-emulator -e mutt %s
363 .IP vimprobableedit:
364 x-terminal-emulator -e vi %s
368 See 
369 .BR vimprobablerc (5)
370 for details how to add or override these settings.
372 You can always overwrite them or define your own in
373 .I $HOME/.config/vimprobable/vimprobablerc.
375 The vimprobableedit protocol plays a special role.  It is used by
376 vimprobable when an external editor is called from within a text field.
377 Note that vimprobable will update the text field when the forked process
378 terminates.  Editors that detach from the controlling terminal (vim -g
379 does, for example) terminate immediately as far as vimprobable is
380 concerned, which means your changes will not be pulled into the text
381 field.  If your editor suffers from that disease, check of options that
382 keep it from detaching; for vim, the -f option does this.
384 .SH FILES
386 Please make sure you create these files before first running the browser. 
387 Everything but the history, bookmarks and closed files is optional. The cookies
388 file is required if you want to use cookies.
390 .I $HOME/.config/vimprobable/vimprobablerc
392 .I $HOME/.config/vimprobable/bookmarks
394 .I $HOME/.config/vimprobable/cookies
396 .I $HOME/.config/vimprobable/history
398 .I $HOME/.config/vimprobable/closed
400 .I $HOME/.config/vimprobable/quickmarks
402 .I $HOME/.config/vimprobable/style.css
405 .SH BUGS
406 There has not been any significant bug-hunting yet.
407 .SH AUTHORS
408 Hannes Schueller and Matto Fransen
409 .SH "SEE ALSO"
410 .BR vimprobablerc (5),