(→Other Resources) |
|||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | <seo title="Command Line Editing | vEdit" description="vEdit command line can be edited in the same way as a string in a dialog box."></seo> | ||
| + | {{DISPLAYTITLE:Command Line Editing}} | ||
| + | |||
The command line can be edited in the same way as a string in a dialog box. | The command line can be edited in the same way as a string in a dialog box. | ||
| + | ==Character Insert Mode== | ||
Characters typed in the middle of a command line will either be inserted or overstrike existing characters, depending upon the Dialog insert mode. The | Characters typed in the middle of a command line will either be inserted or overstrike existing characters, depending upon the Dialog insert mode. The | ||
Dialog insert mode is independent of the '''Visual Mode''' insert mode. | Dialog insert mode is independent of the '''Visual Mode''' insert mode. | ||
| − | + | ;INSERT TOGGLE | |
| − | : | + | :<kbd>Insert</kbd> key, Toggles the Dialog Insert Mode between Insert and Overstrike modes |
After editing the command line press <kbd>Enter</kbd> - ''it is NOT necessary to first move the cursor to the end of the line''. | After editing the command line press <kbd>Enter</kbd> - ''it is NOT necessary to first move the cursor to the end of the line''. | ||
To enter control characters on the command line, first press '''ENTER CTRL''' (default: <kbd>Ctrl-Q</kbd>) and then the control character, e.g. <kbd>Ctrl-X</kbd> or <kbd>Enter</kbd>. '''ENTER CTRL''' causes the following character to be taken literally, and not to be interpreted as a line editing character or any other special character. | To enter control characters on the command line, first press '''ENTER CTRL''' (default: <kbd>Ctrl-Q</kbd>) and then the control character, e.g. <kbd>Ctrl-X</kbd> or <kbd>Enter</kbd>. '''ENTER CTRL''' causes the following character to be taken literally, and not to be interpreted as a line editing character or any other special character. | ||
| + | |||
| + | ==Reusing Previous Command Lines== | ||
| + | |||
| + | The previous ten or more command lines can easily be reused. | ||
| + | |||
| + | ;Cursor Up / Up Arrow | ||
| + | :Accesses the previous command line. | ||
| + | ;Cursor Down / Down Arrow | ||
| + | :Accesses the next command line. | ||
| + | |||
| + | A previous command line can be edited before pressing <kbd>Enter</kbd>. | ||
| + | |||
| + | ==Using the Scratchpad== | ||
| + | |||
| + | You can easily transfer command lines to and from the scratchpad (text register 0). | ||
| + | |||
| + | For example, you can copy a line of macro language commands from a file to the scratchpad: press '''T-REG COPY''' default: <kbd>Ctrl</kbd>-<kbd>F11</kbd>, select register "0", enter '''Command Mode''', and press '''T-REG INSERT''' default: <kbd>F11</kbd>. | ||
| + | |||
| + | ;T-REG COPY | ||
| + | :Copy the entire command line to the scratchpad. The keyboard shortcuts for T-Reg Copy are <kbd>Ctrl</kbd>-<kbd>F11</kbd> or <kbd>Numpad+</kbd>. | ||
| + | |||
| + | ;T-REG MOVE | ||
| + | :Move the entire command line to the scratchpad. The keyboard shortcuts for T-Reg Move are <kbd>Alt</kbd>-<kbd>F11</kbd> or <kbd>Numpad-</kbd>. | ||
| + | |||
| + | ;T-REG INSERT | ||
| + | :Insert the scratchpad into the command line. The keyboard shortcuts for T-Reg Inser are <kbd>F11</kbd> or <kbd>Numpad*</kbd>. | ||
| + | |||
| + | When using these '''T-Reg''' functions at the "COMMAND:" prompt, you are not prompted for the register number; it automatically uses register 0. | ||
| + | |||
| + | ==Related Resources== | ||
| + | *[[Command Mode| Command Mode Overview]] | ||
| + | *[[Command Line|Command Line Overview]] | ||
The command line can be edited in the same way as a string in a dialog box.
Characters typed in the middle of a command line will either be inserted or overstrike existing characters, depending upon the Dialog insert mode. The Dialog insert mode is independent of the Visual Mode insert mode.
After editing the command line press Enter - it is NOT necessary to first move the cursor to the end of the line.
To enter control characters on the command line, first press ENTER CTRL (default: Ctrl-Q) and then the control character, e.g. Ctrl-X or Enter. ENTER CTRL causes the following character to be taken literally, and not to be interpreted as a line editing character or any other special character.
The previous ten or more command lines can easily be reused.
A previous command line can be edited before pressing Enter.
You can easily transfer command lines to and from the scratchpad (text register 0).
For example, you can copy a line of macro language commands from a file to the scratchpad: press T-REG COPY default: Ctrl-F11, select register "0", enter Command Mode, and press T-REG INSERT default: F11.
When using these T-Reg functions at the "COMMAND:" prompt, you are not prompted for the register number; it automatically uses register 0.