1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-17 23:13:33 +01:00

Fix Xulmus, etc.

--HG--
branch : xslt
This commit is contained in:
Kris Maglione
2009-10-25 13:43:25 -04:00
parent 6cadd9c84b
commit 9e531ca343
14 changed files with 66 additions and 69 deletions

View File

@@ -43,7 +43,7 @@
<dl tag="autocommand-list"/>
<p><a>pat</a> is a regular expression, use .* if you want to match all URLs.</p>
<p><a>pat</a> is a regular expression, use <tt>.*</tt> if you want to match all URLs.</p>
<note>This differs from Vim which uses a glob rather than a regex for <a>pat</a>.</note>
@@ -78,27 +78,20 @@
<p>Enable <em>passthrough</em> mode on all Google sites:</p>
<p>
<ex>:autocmd LocationChange .* js modes.passAllKeys = /google\.com/.test(buffer.URL)</ex>
</p>
<code><ex>:autocmd LocationChange .* js modes.passAllKeys = /google\.com/.test(buffer.URL)</ex></code>
<p>Enable <em>passthrough</em> mode on *some* Google sites:</p>
<p>Enable <em>passthrough</em> mode on <em>some</em> Google sites:</p>
<p>
<ex>:autocmd LocationChange .* js modes.passAllKeys = /(www|mail)\.google\.com/.test(buffer.URL)</ex>
</p>
<code><ex>:autocmd LocationChange .* js modes.passAllKeys = /(www|mail)\.google\.com/.test(buffer.URL)</ex></code>
<p>
Set the filetype to mail when editing email at Gmail:
</p>
<p>
<code>
<ex>:autocmd LocationChange .* :set editor=<str>gvim -f</str></ex>
</p>
<p>
<ex>:autocmd LocationChange mail\\.google\\.com :set editor=<str>gvim -f -c 'set ft=mail'</str></ex>
</p>
</code>
</document>

View File

@@ -96,7 +96,7 @@
<spec>:delbm[arks]!</spec>
<description>
<p>
Delete a bookmark. Deletes *all* bookmarks which match the <oa>url</oa>. If
Delete a bookmark. Deletes <em>all</em> bookmarks which match the <oa>url</oa>. If
omitted, <oa>url</oa> defaults to the URL of the current buffer. Use <k name="Tab"/>
key on a string to complete the URL which you want to delete.
</p>

View File

@@ -100,7 +100,7 @@
<li>
All directories in <o>runtimepath</o> are searched for a
"plugin" subdirectory and all yet unloaded plugins are loaded.
For each plugin directory, all *.{js,vimp} files (including
For each plugin directory, all <tt>*.{js,vimp}</tt> files (including
those in further subdirectories) are sourced alphabetically. No
plugins will be sourced if:
@@ -117,10 +117,15 @@
The user's ~ (i.e., "home") directory is determined as follows:
* On Unix and Mac, the environment variable <em>$HOME</em> is used.
* On Windows, &liberator.appname; checks for the existence of <em>%HOME%</em>, then
<em>%USERPROFILE%</em>, and then <em>%HOMEDRIVE%%HOMEPATH%</em>. It uses the first one
it finds.
<ul>
<li>On Unix and Mac, the environment variable <em>$HOME</em> is used.</li>
<li>
On Windows, &liberator.appname; checks for the existence of
<em>%HOME%</em>, then <em>%USERPROFILE%</em>, and then
<em>%HOMEDRIVE%%HOMEPATH%</em>. It uses the first one it
finds.
</li>
</ul>
<h2 tag="save-settings">Saving settings</h2>

View File

@@ -142,9 +142,9 @@
</p>
<p>
If <a>name</a> (short option: *-n*) is provided, any existing style with the same
If <a>name</a> (short option: <em>-n</em>) is provided, any existing style with the same
name is overridden, and the style may later be deleted using <a>name</a>. If
*-append* (short option: *-a*) is provided along with *-name*, <a>css</a> and
<em>-append</em> (short option: <em>-a</em>) is provided along with <em>-name</em>, <a>css</a> and
<a>filter</a> are appended to its current value.
</p>
@@ -165,9 +165,9 @@
</p>
<ul>
<li><em>-name</em>: The name provided to <ex>:style</ex> (short option: *-n*)</li>
<li><em>-name</em>: The name provided to <ex>:style</ex> (short option: <em>-n</em>)</li>
<li><em>-index</em>: For unnamed styles, the index listed by <ex>:style</ex>
(short option: *-i*)</li>
(short option: <em>-i</em>)</li>
</ul>
</description>
</item>