diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-02-22 02:46:10 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-02-22 02:46:10 -0500 |
commit | 28ec3834327dacb433d1003052856e829f0e831e (patch) | |
tree | d3a2681cfd6fe9c561aa039aa6a665c0ad592568 /common/locale/en-US/autocommands.xml | |
parent | 88de726057cf9a5d7ed114cf5df43d71176b8b5c (diff) | |
download | pentadactyl-28ec3834327dacb433d1003052856e829f0e831e.tar.gz |
Minor help updates.
Diffstat (limited to 'common/locale/en-US/autocommands.xml')
-rw-r--r-- | common/locale/en-US/autocommands.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/common/locale/en-US/autocommands.xml b/common/locale/en-US/autocommands.xml index 359aeacc..260eb074 100644 --- a/common/locale/en-US/autocommands.xml +++ b/common/locale/en-US/autocommands.xml @@ -90,16 +90,20 @@ <p>Enable <em>passthrough</em> mode on all Google sites:</p> -<code><ex>:autocmd LocationChange</ex> <str delim="'">google\.com</str> <hl key="HelpArg">-js</hl> modes.set(modes.PASS_THROUGH)</code> +<code><ex>:autocmd LocationChange</ex> <str delim="">google.com</str> <ex>:normal!</ex> <k name="C-z"/></code> <p>Enable <em>passthrough</em> mode on <em>some</em> Google sites:</p> -<code><ex>:autocmd LocationChange</ex> <str delim="'">(www|mail)\.google\.com</str> <hl key="HelpArg">-js</hl> modes.set(modes.PASS_THROUGH)</code> +<code><ex>:autocmd LocationChange</ex> <str delim="'">^https?://(www|mail)\.google\.com/</str> <ex>:normal!</ex> <k name="C-z"/></code> + +<p>or</p> + +<code><ex>:autocmd LocationChange</ex> <str delim="">www.google.com</str>,<str delim="">mail.google.com</str> <ex>:normal!</ex> <k name="C-z"/></code> <p>Set the filetype to mail when editing email at Gmail:</p> -<code><ex>:autocmd LocationChange</ex> !<str delim="'">mail\.google\.com</str> <se opt="editor"><str>gvim -f</str></se> -<ex>:autocmd LocationChange</ex> <str delim="'">mail\.google\.com</str> <se opt="editor"><str>gvim -f -c 'set ft=mail'</str></se></code> +<code><ex>:autocmd LocationChange</ex> !<str delim="">mail.google.com</str>,<str delim="">*</str> <se opt="editor" op="&"/> +<ex>:autocmd LocationChange</ex> <str delim="'">mail.google.com</str> <se opt="editor"><str>gvim -f -c 'set ft=mail' +<line></str></se></code> </document> |