1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-28 18:33:33 +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 HEADER
|Command-line-mode| |Command-line| + |Command-line mode| |Command-line| +
Command-line mode is used to enter Ex commands (":") and text search patterns Command-line mode is used to enter Ex commands (":") and text search patterns
("/" and "?"). ("/" 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. commands, which may require arguments.
________________________________________________________________________________ ________________________________________________________________________________
@@ -32,16 +32,16 @@ ________________________________________________________________________________
|c_<Up>| + |c_<Up>| +
||<Up>|| ||<Up>||
________________________________________________________________________________ ________________________________________________________________________________
Recall the previous command-line from the history list which matches the Recall the previous command line from the history list which matches the
current command-line. current command line.
________________________________________________________________________________ ________________________________________________________________________________
|c_<Down>| + |c_<Down>| +
||<Down>|| ||<Down>||
________________________________________________________________________________ ________________________________________________________________________________
Recall the next command-line from the history list which matches the current Recall the next command line from the history list which matches the current
command-line. command line.
________________________________________________________________________________ ________________________________________________________________________________
@@ -49,7 +49,7 @@ ________________________________________________________________________________
||<S-Up>|| + ||<S-Up>|| +
||<PageUp>|| ||<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>|| + ||<S-Down>|| +
||<PageDown>|| ||<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] section:Command-line{nbsp}completion[cmdline-completion]

View File

@@ -10,7 +10,7 @@ and the sidebar.
|:emenu| + |:emenu| +
||:emenu {menu}|| ||: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 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. hierarchical path to the menu item with each submenu separated by a period.
E.g. [c]:emenu File.Open File...[c] 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 + ||<C-]>|| Expand a command-line abbreviation +
||<Up>|| Recall the previous 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 + ||<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' + ||<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" + ||<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 + ||:echo|| Echo the expression +
||:echoerr|| Echo the expression as an error message + ||:echoerr|| Echo the expression as an error message +
||:echomsg|| Echo the expression as an informational 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 + ||:execute|| Execute the argument as an Ex command +
||:exusage|| List all Ex commands with a short description + ||:exusage|| List all Ex commands with a short description +
||:finish|| Stop sourcing a script file + ||:finish|| Stop sourcing a script file +
@@ -295,7 +295,7 @@ section:Options[option-index]
||'scroll'|| Number of lines to scroll with and commands + ||'scroll'|| Number of lines to scroll with and commands +
||'shell'|| Shell to use for executing :! and :run commands + ||'shell'|| Shell to use for executing :! and :run commands +
||'shellcmdflag'|| Flag passed to shell when 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 + ||'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 + ||'showtabline'|| Control when to show the tab bar of opened web pages +
||'smartcase'|| Override the 'ignorecase' option if the pattern contains uppercase characters + ||'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> :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, There are separate key mapping tables for each of the Normal, Insert,
Command-line modes. Command-line modes.
@@ -143,9 +143,9 @@ ________________________________________________________________________________
|:map-<silent>| + |:map-<silent>| +
________________________________________________________________________________ ________________________________________________________________________________
When the first argument to one of the mapping commands is <silent>, {rhs} When the first argument to one of the mapping commands is <silent>,
is not echoed to the command-line, nor, for that matter, is anything else {rhs} is not echoed to the command line, nor, for that matter, anything
until the command has completed. else until the command has completed.
________________________________________________________________________________ ________________________________________________________________________________
@@ -373,7 +373,7 @@ and <bang> will be available in the argument.
Replacement text Replacement text
The replacement text {rep} is scanned for escape sequences and these are 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. is then executed as an Ex command.
The valid escape sequences are: The valid escape sequences are:

View File

@@ -585,7 +585,7 @@ ____
//____ //____
//Default height for preview window //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 //Note: Option currently disabled
//____ //____
@@ -650,7 +650,7 @@ ____
|\'nosmd'| |\'noshowmode'| |\'smd'| |\'showmode'| |\'nosmd'| |\'noshowmode'| |\'smd'| |\'showmode'|
||'showmode' 'smd'|| boolean (default: on) ||'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 *0* Don't show link destination
*1* Show the link in the status line *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] section:Common{nbsp}issues[common-issues]
Say you get half-way done typing in a new URL, only to remember that you've 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 :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: following:
<Esc>gT <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, It's exactly what it sounds like. This command will display a colorized,
scrollable and clickable list of the locations in Vimperator's history. scrollable and clickable list of the locations in Vimperator's history.
* [c]:emenu[c] -- * [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, Feel free to explore at this point. If you use the [c]:tabopen[c] command,

View File

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