mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-20 17:31:26 +02:00
Minor help updates.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user