1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-21 18:11:26 +02:00

Fix the formatting of some example help commands.

This commit is contained in:
Doug Kearns
2009-02-20 00:13:12 +11:00
parent 3cd3c60f16
commit 9f70457a4a
4 changed files with 22 additions and 31 deletions
+4 -4
View File
@@ -77,15 +77,15 @@ section:Examples[autocmd-examples]
Enable _passthrough_ mode on all Google sites:
:autocmd LocationChange .* js modes.passAllKeys = /google\.com/.test(buffer.URL)
\{nbsp}[c]:autocmd LocationChange .* js modes.passAllKeys = /google\.com/.test(buffer.URL)[c]
Enable _passthrough_ mode on *some* Google sites:
:autocmd LocationChange .* js modes.passAllKeys = /(www|mail)\.google\.com/.test(buffer.URL)
\{nbsp}[c]:autocmd LocationChange .* js modes.passAllKeys = /(www|mail)\.google\.com/.test(buffer.URL)[c]
Set the filetype to mail when editing email at Gmail:
:autocmd LocationChange .* :set editor=gvim\ -f
:autocmd LocationChange mail\.google\.com :set editor="gvim -f -c 'set ft=mail'"
\{nbsp}[c]:autocmd LocationChange .* :set editor=gvim\ -f[c] +
\{nbsp}[c]:autocmd LocationChange mail\.google\.com :set editor="gvim -f -c 'set ft=mail'"[c]
// vim: set filetype=asciidoc: