mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 13:02:27 +01:00
108 lines
2.8 KiB
XML
108 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>
|
|
|
|
<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">
|
|
|
|
<document
|
|
name="pattern"
|
|
title="&dactyl.appname; Patterns"
|
|
xmlns="http://vimperator.org/namespaces/liberator"
|
|
xmlns:html="http://www.w3.org/1999/xhtml">
|
|
<h1 tag="text-search-commands">Text search commands</h1>
|
|
<toc start="2"/>
|
|
|
|
<p>
|
|
&dactyl.appname; provides a Vim-like interface to &dactyl.host;'s standard text search
|
|
functionality. There is no support for using regular expressions in search
|
|
commands as &dactyl.host; does not provide native regex support. It is unlikely that
|
|
this will ever be available.
|
|
</p>
|
|
|
|
<item>
|
|
<tags>/</tags>
|
|
<spec>/<a>pattern</a>[/]<CR></spec>
|
|
<description>
|
|
<p>Search forward for the first occurrence of <a>pattern</a>.</p>
|
|
|
|
<p>
|
|
The following escape sequences can be used to modify the
|
|
behavior of the search. When flags conflict, the last to
|
|
appear is the one that takes effect.
|
|
</p>
|
|
|
|
<dl>
|
|
<dt>\c</dt> <dd>Perform case insensitive search (default
|
|
if <o>ignorecase</o> is set).</dd>
|
|
<dt>\C</dt> <dd>Perform case sensitive search</dd>
|
|
<dt>\l</dt> <dd>Search only in links, as defined by
|
|
<o>hinttags</o>. (default if <o>linksearch</o> is
|
|
set).</dd>
|
|
<dt>\L</dt> <dd>Do not search only in links.</dd>
|
|
</dl>
|
|
</description>
|
|
</item>
|
|
|
|
|
|
<item>
|
|
<tags>?</tags>
|
|
<spec>?<a>pattern</a>[?]<CR></spec>
|
|
<description>
|
|
<p>Search backwards for <a>pattern</a>.</p>
|
|
|
|
<p><a>pattern</a> can use the same modifiers as for <k>/</k>.</p>
|
|
|
|
<note>Incremental searching currently only works in the forward direction.</note>
|
|
</description>
|
|
</item>
|
|
|
|
|
|
<item>
|
|
<tags>n</tags>
|
|
<spec>n</spec>
|
|
<description>
|
|
<p>Find next. Repeat the last search.</p>
|
|
</description>
|
|
</item>
|
|
|
|
|
|
<item>
|
|
<tags>N</tags>
|
|
<spec>N</spec>
|
|
<description>
|
|
<p>Find previous. Repeat the last search in the opposite direction.</p>
|
|
</description>
|
|
</item>
|
|
|
|
|
|
<item>
|
|
<tags>*</tags>
|
|
<spec>*</spec>
|
|
<description>
|
|
<p>Search forward for the next word under the cursor.</p>
|
|
</description>
|
|
</item>
|
|
|
|
|
|
<item>
|
|
<tags>#</tags>
|
|
<spec>#</spec>
|
|
<description>
|
|
<p>Search backward for the previous word under the cursor.</p>
|
|
</description>
|
|
</item>
|
|
|
|
|
|
<item>
|
|
<tags>:noh :nohlsearch</tags>
|
|
<spec>:noh<oa>lsearch</oa></spec>
|
|
<description>
|
|
<p>
|
|
Remove the search highlighting. The document highlighting is turned back on
|
|
when another search command is used or the <o>hlsearch</o> option is set.
|
|
</p>
|
|
</description>
|
|
</item>
|
|
|
|
</document>
|
|
<!-- vim:se sts=4 sw=4 et: -->
|