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="opening">Opening web pages</h2>
18 <tags>o :o :open</tags>
19 <spec>:o<oa>pen</oa> <oa>args</oa></spec>
23 Open a single URL in the current tab, or multiple URLs
24 in the current tab and background tabs. URLs may be
25 separated with <o>urlseparator</o>, in which case the
26 first URL is opened in the current tab and the rest are
27 opened in new background tabs.
31 Each URL may be one of the following:
36 A local filename, if it begins with <em>/</em>,
37 <em>./</em>, or <em>~/</em> and the specified file
42 A search or bookmark keyword, or a search engine
43 name, followed by search arguments.
45 <example><ex>:open wikipedia Linus Torvalds</ex></example>
47 Search engines can be edited via
48 <ex>:dialog searchengines</ex> and search
49 keywords may be added by right clicking any
50 search box and selecting <str>Add a Keyword for
56 Any search string which does not look like a URL or
57 hostname, which will be passed to the default
58 search engine (see <o>defsearch</o>).
60 <example><ex>:open Linus Torvalds</ex></example>
63 Any other value is passed directly to &dactyl.host; and
64 must be a valid URL or hostname.
69 <ex>:open</ex> provides powerful URL completion from
70 several possible sources, which can be adjusted via the
71 <o>complete</o> option.
77 <tags>t :t :tabopen :tabnew</tags>
78 <spec>:tabopen<oa>!</oa> <oa>args</oa></spec>
82 Like <ex>:open</ex>, but all arguments are opened in new
83 tabs. The first new tab is activated if <o>activate</o>
84 contains <str>tabopen</str> or <oa>!</oa> is provided.
92 <description short="true">
94 Open an <ex>:open</ex> prompt followed by the current URL.
102 <description short="true">
104 Open a <ex>:tabopen</ex> prompt followed by the current URL.
112 <description short="true">
113 <p>Open a search prompt.</p>
120 <description short="true">
121 <p>Open a search prompt for a new tab.</p>
126 <tags>:tabdu :tabduplicate</tags>
127 <spec>:<oa>count</oa>tabdu<oa>plicate</oa><oa>!</oa></spec>
130 Duplicates current tab <oa>count</oa> times. The first
131 new tab is activated if <o>activate</o> contains
132 <str>tabopen</str> or <oa>!</oa> is provided.
138 <tags>w :winopen :wopen</tags>
139 <spec>:wino<oa>pen</oa><oa>!</oa> <oa>args</oa></spec>
143 Like <ex>:tabopen</ex>, but all arguments are opened in
147 When called via <ex>:private</ex>, the new window is a
148 private browsing window.
156 <description short="true">
158 Open a <ex>:winopen</ex> prompt followed by the current URL.
164 <tags><![CDATA[<open-clipboard-url> <MiddleMouse> p]]></tags>
169 Open (put) a URL based on the current clipboard
170 contents, or, on X11 systems, the currently selected
171 text. All white space is stripped from the selection and
172 it is opened in the same manner as <ex>:open</ex>.
178 <tags><tab-open-clipboard-url> P</tags>
183 Open (put) a URL based on the current clipboard contents
184 in a new buffer. Works like <k>p</k> but opens a new
185 tab. The new tab is activated if <o>activate</o>
186 contains <str>paste</str>.
197 Open (put) a URL based on the current clipboard contents
198 in a new buffer. The new tab is activated if <o>activate</o>
199 does <em>not</em> contain <str>paste</str>.
205 <tags><![CDATA[<decrement-url-path> <C-x>]]></tags>
207 <spec><oa>count</oa><C-x></spec>
210 Decrements the last number in URL by 1, or by
211 <oa>count</oa> if given. Negative numbers are not
212 supported as trailing numbers in URLs are often preceded
219 <tags><![CDATA[<increment-url-path> <C-a>]]></tags>
221 <spec><oa>count</oa><C-a></spec>
224 Increments the last number in URL by 1, or by
225 <oa>count</oa> if given.
230 <h2 tag="history">History</h2>
233 <tags><![CDATA[<C-o>]]></tags>
235 <spec><oa>count</oa><![CDATA[<C-o>]]></spec>
238 Go to an older position in the jump list.
239 If <oa>count</oa> is specified, jump <oa>count</oa> positions backward.
245 <tags><![CDATA[<C-i>]]></tags>
247 <spec><oa>count</oa><![CDATA[<C-i>]]></spec>
250 Go to a newer position in the jump list.
251 If <oa>count</oa> is specified, jump <oa>count</oa> positions forward.
257 <tags>:ju :jumps</tags>
259 <spec>:ju<oa>mps</oa></spec>
262 Display the jump list.
263 The jump numbers shown are suitable as arguments to <k name="C-o"/>
270 <tags><![CDATA[<M-Left> <A-Left> H]]></tags>
272 <spec>[count]H</spec>
275 Go back in the browser history. If <oa>count</oa> is specified, go
276 back <oa>count</oa> pages.
282 <tags><![CDATA[<M-Right> <A-Right> L]]></tags>
284 <spec><oa>count</oa>L</spec>
287 Go forward in the browser history. If <oa>count</oa> is specified,
288 go forward <oa>count</oa> pages.
294 <tags>:ba :back</tags>
295 <spec>:<oa>count</oa>ba<oa>ck</oa> <oa>url</oa></spec>
296 <spec>:<oa>count</oa>ba<oa>ck</oa>!</spec>
299 Go back in the browser history. If <oa>count</oa> is specified, go
300 back <oa>count</oa> pages.
303 The special version <ex>:back!</ex> goes to the beginning of the browser history.
309 <tags>:fw :fo :forward</tags>
310 <spec>:<oa>count</oa>fo<oa>rward</oa> <oa>url</oa></spec>
311 <spec>:<oa>count</oa>fo<oa>rward</oa>!</spec>
314 Go forward in the browser history. If <oa>count</oa> is specified,
315 go forward <oa>count</oa> pages.
318 The special version <ex>:forward!</ex> goes to the end of the browser history.
324 <tags><![CDATA[[d]]></tags>
325 <spec><oa>count</oa>[d</spec>
328 Go to the <oa>count</oa>th previous domain in the history stack.
334 <tags><![CDATA[]d]]></tags>
335 <spec><oa>count</oa>]d</spec>
338 Go to the <oa>count</oa>th next domain in the history stack.
344 <tags>:hs :hist :history</tags>
345 <spec>:hist<oa>ory</oa><oa>!</oa> <oa>filter</oa></spec>
348 Show recently visited URLs. Opens the message window at the bottom of the screen
349 with all history items whose page titles or URLs match
354 The special version <ex>:history!</ex> works the same as
355 <ex>:history</ex> except that it opens all matching
356 pages in new tabs rather than listing them.
359 <p>The pages may also be filtered via the following options,</p>
361 <dl dt="width: 8em;">
364 The maximum number of items to list or open
365 (short name <em>-m</em>).
369 The sort order of the results
370 (short name <em>-s</em>).
376 <h2 tag="navigating">Navigating</h2>
379 <tags><![CDATA[<open-home-directory> ~]]></tags>
381 <description short="true">
382 <p>Open home directory. Equivalent to <ex>:open ~/</ex></p>
387 <tags><![CDATA[<open-homepage> gh]]></tags>
389 <description short="true">
390 <p>Go home. Opens the homepage in the current tab.</p>
395 <tags><![CDATA[<tab-open-homepage> gH]]></tags>
400 Go home in a new tab. Opens the homepage in a new tab.
401 The new tab is activated if <o>activate</o> contains
408 <tags><![CDATA[<open-parent-path> gu]]></tags>
409 <spec><oa>count</oa>gu</spec>
410 <description short="true">
411 <p>Go to <oa>count</oa>th parent directory.</p>
414 For example, at the URL
415 <tt>http://www.example.com/dir1/dir2/file.htm</tt>,
416 2<k>gu</k> opens <tt>http://www.example.com/dir1/</tt>.
422 <tags><![CDATA[<open-root-path> gU]]></tags>
424 <description short="true">
425 <p>Go to the root of the web site.</p>
428 For example, at the URL
429 <tt>http://www.example.com/dir1/dir2/file.htm</tt>,
430 <k>gU</k> opens <tt>http://www.example.com/</tt>.
435 <h2 tag="reloading">Reloading</h2>
438 <tags><reload> r</tags>
440 <description short="true">
441 <p>Reload the current web page.</p>
446 <tags><full-reload> R</tags>
448 <description short="true">
449 <p>Reload the current web page without using the cache.</p>
454 <tags>:re :reload</tags>
455 <spec>:re<oa>load</oa><oa>!</oa></spec>
458 Reload current web page. If <oa>!</oa> is given, reload
459 without using the cache.
465 <tags>:reloada :reloadall</tags>
466 <spec>:reloada<oa>ll</oa><oa>!</oa></spec>
469 Reload all tabs. If <oa>!</oa> is given, reload without
475 <h2 tag="stopping">Stopping</h2>
478 <tags><![CDATA[<stop-load> <C-c> :st :stop]]></tags>
479 <spec><C-c></spec>
481 <spec>:st<oa>op</oa></spec>
482 <description short="true">
483 <p>Stop loading the current web page.</p>
488 <tags>:stopa :stopall</tags>
489 <spec>:stopa<oa>ll</oa></spec>
490 <description short="true">
491 <p>Stop loading all web pages.</p>
495 <h2 tag="writing save-file">Writing</h2>
498 <tags>:w :write :sav :saveas</tags>
499 <spec>:sav<oa>eas</oa><oa>!</oa> <oa>file</oa></spec>
502 Save current web page to disk. If <oa>file</oa> is omitted, save to
503 the page's default filename. If <oa>file</oa> is a directory or ends
504 with your platform's path separator, save to the page's default
505 filename in that directory. Existing documents will only be
506 overwritten if <oa>!</oa> is given.
512 <spec>:write >> <a>file</a></spec>
515 Appends the current web page to the file <a>file</a>. The given
516 file must already exist.
522 <spec>:write !<a>cmd</a></spec>
525 Writes the current web page to <a>cmd</a> and prints the command's
531 <h2 tag="quitting save-session">Quitting</h2>
534 <tags>ZQ :x :exit</tags>
536 <spec>:exit<oa>!</oa></spec>
539 Quit &dactyl.appName;, no matter how many tabs/windows are open.
540 The session is not stored. Use <oa>!</oa> to forcibly quit.
546 <tags>:q :quit</tags>
548 <spec>:q<oa>uit</oa></spec>
551 Quit current tab. If this is the last tab in the window,
558 <tags>:qa :qall :quita :quitall</tags>
560 <spec>:quita<oa>ll</oa></spec>
563 Close the current &dactyl.appName; window, no matter how
570 <tags>:wc :wclose :winc :winclose</tags>
571 <spec>:winc<oa>lose</oa></spec>
572 <description short="true">
573 <p>Close the current window.</p>
578 <tags>:winon :winonly</tags>
579 <spec>:winon<oa>ly</oa></spec>
580 <description short="true">
581 <p>Close all windows but the current.</p>
586 <tags>ZZ :xa :xall :wq :wqa :wqall</tags>
587 <spec>:wqa<oa>ll</oa></spec>
589 <spec>:xa<oa>ll</oa></spec>
590 <description short="true">
591 <p>Save the current session and quit.</p>
593 Unlike Vim, <ex>:wq</ex> closes the entire window rather
594 than just the current tab.
599 <h2 tag="current-directory">The current directory</h2>
602 <tags>:chd :chdir :cd</tags>
604 <spec>:cd <oa>path</oa></spec>
607 Change the current directory. If <oa>path</oa> is
608 <em>-</em>, change to the previous directory. If it is
609 omitted, change to the home directory.
615 <tags>:pw :pwd</tags>
616 <spec>:pw<oa>d</oa></spec>
617 <description short="true">
618 <p>Print the current directory name.</p>
624 <!-- vim:se sts=4 sw=4 et: -->