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; Patterns"
10 xmlns:html="&xmlns.html;">
12 <h1 tag="text-find-commands">Text find commands</h1>
16 &dactyl.appName; provides a Vim-like incremental find interface to
17 replace &dactyl.host;'s crippled Typeahead Find. Among other improvements,
22 Starts at the cursor position in the currently selected frame, unlike
23 &dactyl.host;, which always starts at the beginning of the first frame
24 for documents with more than one frame.
27 Returns the cursor and viewport to their original position on cancel.
30 Backtracks to the first successful match after pressing backspace,
31 unlike &dactyl.host;, which will always continue from the last match.
34 Supports reverse incremental find.
37 Escape sequences to toggle link-only and case-sensitive find.
40 Crude regular expression searches are supported.
45 <tags><![CDATA[<find-forward> /]]></tags>
46 <spec>/<a>pattern</a><k name="CR" link="false"/></spec>
48 <p>Find <a>pattern</a> starting at the current caret position.</p>
51 The following escape sequences can be used anywhere in
52 <a>pattern</a> to modify the behavior of the search. When flags
53 conflict, the last to appear is the one that takes effect.
57 <dt>\c</dt> <dd>Perform case insensitive find (default if <o>findcase</o>=<str>ignore</str>).</dd>
58 <dt>\C</dt> <dd>Perform case sensitive find (default if <o>findcase</o>=<str>match</str>).</dd>
59 <dt>\l</dt> <dd>Search only in links, as defined by <o>hinttags</o>.</dd>
60 <dt>\L</dt> <dd>Search the entire page.</dd>
61 <dt>\r</dt> <dd>Process the entire pattern as a regular expression.</dd>
62 <dt>\R</dt> <dd>Process the entire pattern as an ordinary string.</dd>
68 <tags><![CDATA[<find-backward> <S-Slash> ?]]></tags>
69 <spec>?<a>pattern</a><k name="CR" link="false"/></spec>
72 Find a pattern backward of the current caret position in exactly the
73 same manner as <k>/</k>.
79 <tags><![CDATA[<find-next> n]]></tags>
81 <description short="true">
82 <p>Find next. Repeat the last find.</p>
87 <tags><![CDATA[<find-previous> N]]></tags>
89 <description short="true">
90 <p>Find previous. Repeat the last find in the opposite direction.</p>
95 <tags><![CDATA[<find-word-forward> *]]></tags>
97 <description short="true">
98 <p>Search forward for the next occurrence of the word under cursor.</p>
103 <tags><![CDATA[<find-word-backward> #]]></tags>
105 <description short="true">
106 <p>Search backward for the previous occurrence of the word under cursor.</p>
111 <tags>:noh :nohlfind</tags>
113 <spec>:noh<oa>lfind</oa></spec>
116 Remove the find highlighting. The document is highlighted again
117 when another find command is used or the <o>hlfind</o> option
125 <!-- vim:se sts=4 sw=4 et: -->