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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user