1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-19 08:53:32 +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

View File

@@ -77,15 +77,15 @@ section:Examples[autocmd-examples]
Enable _passthrough_ mode on all Google sites: 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: 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: Set the filetype to mail when editing email at Gmail:
:autocmd LocationChange .* :set editor=gvim\ -f \{nbsp}[c]:autocmd LocationChange .* :set editor=gvim\ -f[c] +
:autocmd LocationChange mail\.google\.com :set editor="gvim -f -c 'set ft=mail'" \{nbsp}[c]:autocmd LocationChange mail\.google\.com :set editor="gvim -f -c 'set ft=mail'"[c]
// vim: set filetype=asciidoc: // vim: set filetype=asciidoc:

View File

@@ -54,12 +54,12 @@ ____
____ ____
For list options, toggle the specified values. For list options, toggle the specified values.
If the option is a list, the given values are toggled. Given If the option is a list, the given values are toggled. Given +
:set opt=foo,bar \{nbsp}[c]:set opt=foo,bar[c] +
Then, then, +
:set opt!=foo,baz \{nbsp}[c]:set opt!=foo,baz[c] +
results in results in +
opt=bar,baz \{nbsp}opt=bar,baz
____ ____
|:set-default| |:set-default|
@@ -575,15 +575,6 @@ In order to also speed up first time access, it is cached at startup, if this op
____ ____
//|\'pvh'| |\'previewheight'|
//||'previewheight' 'pvh'|| number (default: 10)
//____
//Default height for preview window
//
//Value must be between 1 and 50. If the value is too high, completions may cover the command line. Close the preview window with :pclose.
//Note: Option currently disabled
//____
|\'previouspattern'| |\'previouspattern'|
||'previouspattern'|| stringlist ||'previouspattern'|| stringlist
____ ____

View File

@@ -23,11 +23,11 @@ section:Firefox{nbsp}printing{nbsp}dialogs[firefox-print-dialogs]
The "Print Preview" and "Page Setup" dialogs can be opened via the [c]:dialog[c] The "Print Preview" and "Page Setup" dialogs can be opened via the [c]:dialog[c]
command command
:dialog printpreview \{nbsp}[c]:dialog printpreview[c]
and and
:dialog printsetup \{nbsp}[c]:dialog printsetup[c]
respectively. respectively.

View File

@@ -15,7 +15,7 @@ bare-looking window. The menubar, navigation bar, and bookmark bars are hidden.
In case you missed the notice in the help:Introduction[intro.html], you can In case you missed the notice in the help:Introduction[intro.html], you can
regain these by issuing the command regain these by issuing the command
:set go+=mTB<CR> \{nbsp}[c]:set go+=mTB<CR>[c]
where [m]<CR>[m] represents pressing the <Enter> or <Return> key. where [m]<CR>[m] represents pressing the <Enter> or <Return> key.
If you're a veteran Vim user, this may look familiar. It should. If you're a veteran Vim user, this may look familiar. It should.
@@ -51,7 +51,7 @@ Most of the documentation for Vimperator's features are easily found using the
[c]:help[c] command. For example, you can find help on the [c]:help[c] command [c]:help[c] command. For example, you can find help on the [c]:help[c] command
by typing by typing
:help :help<CR> \{nbsp}[c]:help :help<CR>[c]
Similarly, help on configurable options is available with [c]:help Similarly, help on configurable options is available with [c]:help
'{option_name}'[c]. (Note the single quotes around the option name as in Vim.) '{option_name}'[c]. (Note the single quotes around the option name as in Vim.)
@@ -59,8 +59,8 @@ Information on all available options is, predictably, [c]:help options[c].
and you can find out about the [m]gt[m] and [m]gT[m] mapping with and you can find out about the [m]gt[m] and [m]gT[m] mapping with
:help gt<CR> \{nbsp}[c]:help gt<CR>[c] +
:help gT<CR> \{nbsp}[c]:help gT<CR>[c]
Finally, in addition to the help system itself, [c]:exusage[c], [c]:viusage[c] Finally, in addition to the help system itself, [c]:exusage[c], [c]:viusage[c]
and [c]:optionusage[c] are useful quick-reference commands. and [c]:optionusage[c] are useful quick-reference commands.
@@ -119,11 +119,11 @@ the current tab, use [c]:open[c]. The Normal mode mappings [m]t[m] and [m]o[m],
respectively, map to these commands, so the following pairs of sequences are respectively, map to these commands, so the following pairs of sequences are
equivalent: equivalent:
:open my.webmail.com<CR> \{nbsp}[c]:open my.webmail.com<CR>[c] +
omy.webmail.com<CR> \{nbsp}[m]omy.webmail.com<CR>[m]
:tabopen vimperator.org<CR> \{nbsp}[c]:tabopen vimperator.org<CR>[c] +
tvimperator.org<CR> \{nbsp}[m]tvimperator.org<CR>[m]
section:Some{nbsp}hints{nbsp}about{nbsp}surfing...[hints-tutorial] section:Some{nbsp}hints{nbsp}about{nbsp}surfing...[hints-tutorial]
@@ -162,12 +162,12 @@ Say you get half-way done typing in a new URL, only to remember that you've
already got that page open in the previous tab. Your command line might look already got that page open in the previous tab. Your command line might look
something like this: something like this:
:open my.partial.url/fooba \{nbsp}[c]:open my.partial.url/fooba[c]
You can exit the command line and access the already loaded page with the You can exit the command line and access the already loaded page with the
following: following:
<Esc>gT \{nbsp}[m]<Esc>gT[m]
section:Saving{nbsp}for{nbsp}posterity{nbsp}-{nbsp}vimperatorrc[vimperatorrc] section:Saving{nbsp}for{nbsp}posterity{nbsp}-{nbsp}vimperatorrc[vimperatorrc]