1 <?xml version="1.0" encoding="UTF-8"?>
2 <?xml-stylesheet type="text/xsl" href="dactyl://content/help.xsl"?>
4 <!DOCTYPE document SYSTEM "dactyl://content/dtd">
8 title="&dactyl.appName; Browsing"
10 xmlns:html="&xmlns.html;">
12 <h1 tag="surfing browsing">Browsing</h1>
15 <h2 tag="bypassing-&dactyl.name;">Bypassing &dactyl.appName;</h2>
17 &dactyl.appName; overrides nearly all &dactyl.host; keys in order to
18 make browsing more pleasant for Vim users. On the occasions when you
19 want to bypass &dactyl.appName;'s key handling and pass keys directly to
20 &dactyl.host; or to a web page, you have several options:
23 <tags><![CDATA[<pass-next-key-builtin> <A-b>]]></tags>
24 <spec><![CDATA[<A-b>]]></spec>
27 Process the next key as a builtin mapping, ignoring any user defined
28 mappings and <o>passkeys</o> settings.
34 <tags><![CDATA[send-key <pass-next-key> <C-v> CTRL-V]]></tags>
35 <spec><![CDATA[<C-v>]]></spec>
38 Pass the next key press directly to &dactyl.host;.
44 <tags><![CDATA[pass-through <pass-all-keys> <C-z> CTRL-Z]]></tags>
45 <spec><![CDATA[<C-z>]]></spec>
48 Pass all keys except for <k name="Esc"/> directly to
49 &dactyl.host;. When <k name="Esc"/> is pressed,
50 resume normal key handling. This is especially useful
51 for web sites which make heavy use of key bindings.
57 See also <o>passkeys</o> and <o>passunknown</o> for ways to permanently pass
58 all or particular keys under certain conditions.
61 <h2 tag="opening">Opening web pages</h2>
64 <tags>o :o :open</tags>
65 <spec>:o<oa>pen</oa> <oa>args</oa></spec>
69 Open a single URL in the current tab, or multiple URLs
70 in the current tab and background tabs. URLs may be
71 separated with <o>urlseparator</o>, in which case the
72 first URL is opened in the current tab and the rest are
73 opened in new background tabs.
77 Each URL may be one of the following:
82 A local filename, if it begins with <em>/</em>,
83 <em>./</em>, or <em>~/</em> and the specified file
88 A search or bookmark keyword, or a search engine
89 name, followed by search arguments.
91 <example><ex>:open wikipedia Linus Torvalds</ex></example>
93 Search engines can be edited via
94 <ex>:dialog searchengines</ex> and search
95 keywords may be added by right clicking any
96 search box and selecting <str>Add a Keyword for
102 Any search string which does not look like a URL or
103 hostname, which will be passed to the default
104 search engine (see <o>defsearch</o>).
106 <example><ex>:open Linus Torvalds</ex></example>
109 Any other value is passed directly to &dactyl.host; and
110 must be a valid URL or hostname.
115 <ex>:open</ex> provides powerful URL completion from
116 several possible sources, which can be adjusted via the
117 <o>complete</o> option.
123 <tags>t :t :tabopen :tabnew</tags>
124 <spec>:tabopen<oa>!</oa> <oa>args</oa></spec>
128 Like <ex>:open</ex>, but all arguments are opened in new
129 tabs. The first new tab is activated if <o>activate</o>
130 contains <str>tabopen</str> or <oa>!</oa> is provided.
138 <description short="true">
140 Open a <ex>:tabopen</ex> prompt followed by the current URL.
146 <tags>:tabdu :tabduplicate</tags>
147 <spec>:<oa>count</oa>tabdu<oa>plicate</oa><oa>!</oa></spec>
150 Duplicates current tab <oa>count</oa> times. The first
151 new tab is activated if <o>activate</o> contains
152 <str>tabopen</str> or <oa>!</oa> is provided.
160 <description short="true">
162 Open an <ex>:open</ex> prompt followed by the current URL.
168 <tags>w :winopen :wopen</tags>
169 <spec>:wino<oa>pen</oa><oa>!</oa> <oa>args</oa></spec>
173 Like <ex>:tabopen</ex>, but all arguments are opened in
182 <description short="true">
184 Open a <ex>:winopen</ex> prompt followed by the current URL.
190 <tags><![CDATA[<open-clipboard-url> <MiddleMouse> p]]></tags>
195 Open (put) a URL based on the current clipboard
196 contents, or, on X11 systems, the currently selected
197 text. All white space is stripped from the selection and
198 it is opened in the same manner as <ex>:open</ex>.
204 <tags><tab-open-clipboard-url> P</tags>
209 Open (put) a URL based on the current clipboard contents
210 in a new buffer. Works like <k>p</k> but opens a new
211 tab. The new tab is activated if <o>activate</o>
212 contains <str>paste</str>.
223 Open (put) a URL based on the current clipboard contents
224 in a new buffer. The new tab is activated if <o>activate</o>
225 does <em>not</em> contain <str>paste</str>.
231 <tags><![CDATA[<decrement-url-path> <C-x>]]></tags>
233 <spec><oa>count</oa><C-x></spec>
236 Decrements the last number in URL by 1, or by
237 <oa>count</oa> if given. Negative numbers are not
238 supported as trailing numbers in URLs are often preceded
245 <tags><![CDATA[<increment-url-path> <C-a>]]></tags>
247 <spec><oa>count</oa><C-a></spec>
250 Increments the last number in URL by 1, or by
251 <oa>count</oa> if given.
257 <tags><![CDATA[<open-home-directory> ~]]></tags>
259 <description short="true">
260 <p>Open home directory. Equivalent to <ex>:open ~/</ex></p>
264 <h2 tag="navigating">Navigating</h2>
267 <tags><![CDATA[H <C-o> CTRL-O :ba :back]]></tags>
268 <spec>:<oa>count</oa>ba<oa>ck</oa> <oa>url</oa></spec>
269 <spec>:ba<oa>ck</oa>!</spec>
270 <spec><oa>count</oa><C-o></spec>
273 Go <oa>count</oa> pages back in the browser history. If
274 <oa>url</oa> is specified go back to the first matching
275 URL. The special version <ex>:back!</ex> goes to the
276 beginning of the browser history.
282 <tags><![CDATA[L <C-i> CTRL-I :fo :fw :forward]]></tags>
283 <spec>:<oa>count</oa>fo<oa>rward</oa> <oa>url</oa></spec>
284 <spec>:fo<oa>rward</oa>!</spec>
285 <spec><oa>count</oa><C-i></spec>
288 Go <oa>count</oa> pages forward in the browser history.
289 If <oa>url</oa> is specified go forward to the first
290 matching URL. The special version <ex>:forward!</ex>
291 goes to the end of the browser history.
297 <tags>:ju :jumps</tags>
298 <spec>:ju<oa>mps</oa></spec>
300 <p>List all jumps, i.e., the current tab's session history.</p>
303 Current history position is marked with <em>></em>.
304 Jump numbers may be used as counts for
305 <ex>:back</ex> or <ex>:forward</ex>.
311 <tags><![CDATA[<open-homepage> gh]]></tags>
313 <description short="true">
314 <p>Go home. Opens the homepage in the current tab.</p>
319 <tags><![CDATA[<tab-open-homepage> gH]]></tags>
324 Go home in a new tab. Opens the homepage in a new tab.
325 The new tab is activated if <o>activate</o> contains
332 <tags><![CDATA[<open-parent-path> gu]]></tags>
333 <spec><oa>count</oa>gu</spec>
334 <description short="true">
335 <p>Go to <oa>count</oa>th parent directory.</p>
338 For example, at the URL
339 <tt>http://www.example.com/dir1/dir2/file.htm</tt>,
340 2<k>gu</k> opens <tt>http://www.example.com/dir1/</tt>.
346 <tags><![CDATA[<open-root-path> gU]]></tags>
348 <description short="true">
349 <p>Go to the root of the web site.</p>
352 For example, at the URL
353 <tt>http://www.example.com/dir1/dir2/file.htm</tt>,
354 <k>gU</k> opens <tt>http://www.example.com/</tt>.
359 <h2 tag="reloading">Reloading</h2>
362 <tags><reload> r</tags>
364 <description short="true">
365 <p>Reload the current web page.</p>
370 <tags><full-reload> R</tags>
372 <description short="true">
373 <p>Reload the current web page without using the cache.</p>
378 <tags>:re :reload</tags>
379 <spec>:re<oa>load</oa><oa>!</oa></spec>
382 Reload current web page. If <oa>!</oa> is given, reload
383 without using the cache.
389 <tags>:reloada :reloadall</tags>
390 <spec>:reloada<oa>ll</oa><oa>!</oa></spec>
393 Reload all tabs. If <oa>!</oa> is given, reload without
399 <h2 tag="stopping">Stopping</h2>
402 <tags><![CDATA[<stop-load> <C-c> :st :stop]]></tags>
403 <spec><C-c></spec>
405 <spec>:st<oa>op</oa></spec>
406 <description short="true">
407 <p>Stop loading the current web page.</p>
412 <tags>:stopa :stopall</tags>
413 <spec>:stopa<oa>ll</oa></spec>
414 <description short="true">
415 <p>Stop loading all web pages.</p>
419 <h2 tag="writing save-file">Writing</h2>
422 <tags>:w :write :sav :saveas</tags>
423 <spec>:sav<oa>eas</oa><oa>!</oa> <oa>file</oa></spec>
426 Save current web page to disk. If <oa>file</oa> is omitted, save to
427 the page's default filename. If <oa>file</oa> is a directory or ends
428 with your platform's path separator, save to the page's default
429 filename in that directory. Existing documents will only be
430 overwritten if <oa>!</oa> is given.
436 <spec>:write >> <a>file</a></spec>
439 Appends the current web page to the file <a>file</a>. The given
440 file must already exist.
446 <spec>:write !<a>cmd</a></spec>
449 Writes the current web page to <a>cmd</a> and prints the command's
455 <h2 tag="quitting save-session">Quitting</h2>
458 <tags>ZQ :x :exit</tags>
460 <spec>:exit<oa>!</oa></spec>
463 Quit &dactyl.appName;, no matter how many tabs/windows are open.
464 The session is not stored. Use <oa>!</oa> to forcibly quit.
470 <tags>:q :quit</tags>
472 <spec>:q<oa>uit</oa></spec>
475 Quit current tab. If this is the last tab in the window,
482 <tags>:qa :qall :quita :quitall</tags>
484 <spec>:quita<oa>ll</oa></spec>
487 Close the current &dactyl.appName; window, no matter how
494 <tags>:wc :wclose :winc :winclose</tags>
495 <spec>:winc<oa>lose</oa></spec>
496 <description short="true">
497 <p>Close the current window.</p>
502 <tags>:winon :winonly</tags>
503 <spec>:winon<oa>ly</oa></spec>
504 <description short="true">
505 <p>Close all windows but the current.</p>
510 <tags>ZZ :xa :xall :wq :wqa :wqall</tags>
511 <spec>:wqa<oa>ll</oa></spec>
513 <spec>:xa<oa>ll</oa></spec>
514 <description short="true">
515 <p>Save the current session and quit.</p>
517 Unlike Vim, <ex>:wq</ex> closes the entire window rather
518 than just the current tab.
523 <h2 tag="current-directory">The current directory</h2>
526 <tags>:chd :chdir :cd</tags>
528 <spec>:cd <oa>path</oa></spec>
531 Change the current directory. If <oa>path</oa> is
532 <em>-</em>, change to the previous directory. If it is
533 omitted, change to the home directory.
539 <tags>:pw :pwd</tags>
540 <spec>:pw<oa>d</oa></spec>
541 <description short="true">
542 <p>Print the current directory name.</p>
548 <!-- vim:se sts=4 sw=4 et: -->