1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 18:24:11 +01:00

A few docs clarifications.

-- shifted mappings notation (<C-n> vs <C-N>)
-- adjusted the ':!' warning
-- other minor fixes
This commit is contained in:
Štěpán Němec
2009-05-09 04:47:58 +02:00
committed by Doug Kearns
parent 7a4f68d6ce
commit 32be6b7469
3 changed files with 12 additions and 7 deletions

View File

@@ -15,6 +15,10 @@ will echo the current date to the command line when [m]<F2>[m] is pressed.
There are separate key mapping tables for each of the Normal, Insert, and
Command-line modes.
Please note that, unlike Vim and other applications, mappings containing
the Shift key are specified with the capital letter, so e.g. [m]<C-n>[m] is
different from [m]<C-N>[m], the latter being the only way to map Shift-Ctrl-n.
|:map-special-chars| +
|<Nop>| +

View File

@@ -18,11 +18,11 @@ sourced.
________________________________________________________________________________
|:hi| |:highlight| +
||:hi[ghlight][!] [-append] {group}[{selector}] [{css}]|| +
||:hi[ghlight][!] [-append] {group} [[{selector}] {css}]|| +
________________________________________________________________________________
Highlight {group} with {css}. Normally, {css} is checked for valid
syntax before it's applied. Once you're certain it's valid, [!] can be
used to override the check to speed Vimperator startup. {selector} can
used to skip the check to speed up Vimperator startup. {selector} can
be any valid CSS selector, such as [c]:hover[c], and, if provided, will
restrict the match to matching elements.
@@ -89,11 +89,11 @@ Valid groups are:
Every invocation completely replaces the styling of any previous invocation,
unless *-append* (short option: *-a*) is provided, in which case {css} is
appended to its current value. If {css} is not provided, any styles matching
{group} are listed.
{group} are listed, or all styles if no {group} provided.
________________________________________________________________________________
|:highlight-clear| +
||:hi[light] clear [{group}[{selector}]]|| +
||:hi[ghlight] clear [{group} [{selector}]]|| +
________________________________________________________________________________
Reset the highlighting for {group} to its default value. If
{group} is not given, reset all highlighting groups.

View File

@@ -30,11 +30,12 @@ ________________________________________________________________________________
||:!{cmd}||
________________________________________________________________________________
Run a command. Runs {cmd} through system() and displays its output. Any \'!' in
{cmd} is replaced with the previous external command. But not when there is a
backslash before the \'!', then that backslash is removed.
{cmd} is replaced with the previous external command, but not when there is a
backslash before the \'!', then the backslash is removed.
Warning: Input redirection (< foo) not done, also do not run commands which
require stdin or it will hang Firefox!
require stdin or it will hang Firefox! It is possible to launch background
processes, though (e.g. ':! xterm &').
________________________________________________________________________________