1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 05:24:13 +01:00

More "command-line edits" in prompts.

Again, by Chicago Manual of Style (CMOS) and several other style guides, we
hyphenate compound /modifiers/ when they come /before/ the word being
modified.

So the "command line" is not hyphenated, but the "command-line mode" is. 

This is consistent with Vim help style conventions as well.
This commit is contained in:
Ted Pavlic
2009-01-17 12:46:10 -05:00
parent 59343a3712
commit f618833c18
7 changed files with 27 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
HEADER
|Command-line-mode| |Command-line| +
|Command-line mode| |Command-line| +
Command-line mode is used to enter Ex commands (":") and text search patterns
("/" and "?").
@@ -8,7 +8,7 @@ Command-line mode is used to enter Ex commands (":") and text search patterns
|:| +
||:||
________________________________________________________________________________
Start Command-line mode. In Command-line mode, you can perform extended
Start command-line mode. In command-line mode, you can perform extended
commands, which may require arguments.
________________________________________________________________________________
@@ -32,16 +32,16 @@ ________________________________________________________________________________
|c_<Up>| +
||<Up>||
________________________________________________________________________________
Recall the previous command-line from the history list which matches the
current command-line.
Recall the previous command line from the history list which matches the
current command line.
________________________________________________________________________________
|c_<Down>| +
||<Down>||
________________________________________________________________________________
Recall the next command-line from the history list which matches the current
command-line.
Recall the next command line from the history list which matches the current
command line.
________________________________________________________________________________
@@ -49,7 +49,7 @@ ________________________________________________________________________________
||<S-Up>|| +
||<PageUp>||
________________________________________________________________________________
Recall the previous command-line from the history list.
Recall the previous command line from the history list.
________________________________________________________________________________
@@ -57,7 +57,7 @@ ________________________________________________________________________________
||<S-Down>|| +
||<PageDown>||
________________________________________________________________________________
Recall the next command-line from the history list.
Recall the next command line from the history list.
________________________________________________________________________________
section:Command-line{nbsp}completion[cmdline-completion]

View File

@@ -10,7 +10,7 @@ and the sidebar.
|:emenu| +
||:emenu {menu}||
________________________________________________________________________________
Execute {menu} from the command-line. This command provides command-line access
Execute {menu} from the command line. This command provides command-line access
to all menu items available from the main Firefox menubar. {menu} is a
hierarchical path to the menu item with each submenu separated by a period.
E.g. [c]:emenu File.Open File...[c]

View File

@@ -128,8 +128,8 @@ section:Command-line{nbsp}editing[ex-edit-index]
||<C-]>|| Expand a command-line abbreviation +
||<Up>|| Recall the previous command-line from the history list which matches the current command-line +
||<Down>|| Recall the next command-line from the history list which matches the current command-line +
||<Up>|| Recall the previous command line from the history list which matches the current command line +
||<Down>|| Recall the next command line from the history list which matches the current command line +
||<Tab>|| Complete the word in front of the cursor according to the behavior specified in 'wildmode' +
||<S-Tab>|| Complete the previous full match when 'wildmode' contains "full" +
@@ -172,7 +172,7 @@ section:Ex{nbsp}commands[ex-cmd-index,:index]
||:echo|| Echo the expression +
||:echoerr|| Echo the expression as an error message +
||:echomsg|| Echo the expression as an informational message +
||:emenu|| Execute the specified menu item from the command-line +
||:emenu|| Execute the specified menu item from the command line +
||:execute|| Execute the argument as an Ex command +
||:exusage|| List all Ex commands with a short description +
||:finish|| Stop sourcing a script file +
@@ -295,7 +295,7 @@ section:Options[option-index]
||'scroll'|| Number of lines to scroll with and commands +
||'shell'|| Shell to use for executing :! and :run commands +
||'shellcmdflag'|| Flag passed to shell when executing :! and :run commands +
||'showmode'|| Show the current mode in the command-line +
||'showmode'|| Show the current mode in the command line +
||'showstatuslinks'|| Show the destination of the link under the cursor in the status bar +
||'showtabline'|| Control when to show the tab bar of opened web pages +
||'smartcase'|| Override the 'ignorecase' option if the pattern contains uppercase characters +

View File

@@ -10,7 +10,7 @@ which are translated to a string of characters. Example:
:map <F2> :echo new Date().toDateString()<CR>
will echo the current date to the command-line when [m]<F2>[m] is pressed.
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,
Command-line modes.
@@ -143,9 +143,9 @@ ________________________________________________________________________________
|:map-<silent>| +
________________________________________________________________________________
When the first argument to one of the mapping commands is <silent>, {rhs}
is not echoed to the command-line, nor, for that matter, is anything else
until the command has completed.
When the first argument to one of the mapping commands is <silent>,
{rhs} is not echoed to the command line, nor, for that matter, anything
else until the command has completed.
________________________________________________________________________________
@@ -373,7 +373,7 @@ and <bang> will be available in the argument.
Replacement text
The replacement text {rep} is scanned for escape sequences and these are
replaced with values from the user entered command-line. The resulting string
replaced with values from the user-entered command line. The resulting string
is then executed as an Ex command.
The valid escape sequences are:

View File

@@ -585,7 +585,7 @@ ____
//____
//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.
//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
//____
@@ -650,7 +650,7 @@ ____
|\'nosmd'| |\'noshowmode'| |\'smd'| |\'showmode'|
||'showmode' 'smd'|| boolean (default: on)
____
Show the current mode in the command-line.
Show the current mode in the command line.
____
@@ -663,7 +663,7 @@ Also links which are focused by keyboard commands like [m]<Tab>[m] are shown. Po
.---`--------------------------------------
*0* Don't show link destination
*1* Show the link in the status line
*2* Show the link in the command-line
*2* Show the link in the command line
-------------------------------------------
____

View File

@@ -159,12 +159,12 @@ to return here, depending on which key you used to activate QuickHint mode.
section:Common{nbsp}issues[common-issues]
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:
:open my.partial.url/fooba
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:
<Esc>gT
@@ -210,7 +210,7 @@ make the best use of them.
It's exactly what it sounds like. This command will display a colorized,
scrollable and clickable list of the locations in Vimperator's history.
* [c]:emenu[c] --
Access the Firefox menus through the Vimperator command-line.
Access the Firefox menus through the Vimperator command line.
Feel free to explore at this point. If you use the [c]:tabopen[c] command,

View File

@@ -19,7 +19,7 @@ ____
||:norm[al][!] {commands}|| +
________________________________________________________________________________
Execute Normal mode commands {commands}. This makes it possible to execute
Normal mode commands typed on the command-line. {commands} is executed like it
Normal mode commands typed on the command line. {commands} is executed like it
is typed. If the [!] is given, mappings will not be used. {commands} should be
a complete command. {commands} cannot start with a space. Put a 1 (one) before
it, 1 space is one space.
@@ -94,8 +94,8 @@ section:Uncategorized{nbsp}help[uncategorized]
|<C-[>| |<Esc>| +
||<Esc>||
________________________________________________________________________________
Focus content. Exits any command-line or hint mode and returns to browser
mode. Also focuses the web page, in case a form field has focus and eats
Focus content. Exits command-line or hint mode and returns to browser
mode. Also focuses the web page in case a form field has focus and eats
our key presses.
________________________________________________________________________________