summaryrefslogtreecommitdiff
path: root/common/locale/en-US/autocommands.xml
diff options
context:
space:
mode:
authorKris Maglione <kris@vimperator.org>2009-10-25 13:43:25 -0400
committerKris Maglione <kris@vimperator.org>2009-10-25 13:43:25 -0400
commit9e531ca343599ad1d1550c3288cd7001d044d551 (patch)
tree633452b4e85a1816159c50ac6ec23c0f275d63d9 /common/locale/en-US/autocommands.xml
parent6cadd9c84bf27fc9964c06540753dd4b123b6251 (diff)
downloadpentadactyl-9e531ca343599ad1d1550c3288cd7001d044d551.tar.gz
Fix Xulmus, etc.
--HG-- branch : xslt
Diffstat (limited to 'common/locale/en-US/autocommands.xml')
-rw-r--r--common/locale/en-US/autocommands.xml19
1 files changed, 6 insertions, 13 deletions
diff --git a/common/locale/en-US/autocommands.xml b/common/locale/en-US/autocommands.xml
index c4ad438f..9a8dc927 100644
--- a/common/locale/en-US/autocommands.xml
+++ b/common/locale/en-US/autocommands.xml
@@ -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>