Keystroke |
Description |
---|---|
Control-B |
Moves backward one character. |
Escape B |
Moves backward one word. |
Control-F |
Moves forward one character. |
Escape F |
Moves forward one word. |
Control-A |
Moves backward to beginning of line. |
Control-E |
Moves forward to end of line. |
Delete |
Erases previous character. |
Backspace |
Erases previous character. |
Control-H |
Erases previous character. |
Escape H |
Erases from beginning of word to just before the cursor, storing erased characters in a save buffer. |
Control-W |
Erases from beginning of word to just before the cursor, storing erased characters in a save buffer. |
Control-D |
Erases next character. |
Escape D |
Erases from cursor to end of the word, storing erased characters in a save buffer. |
Control-K |
Erases from cursor to end of line, storing erased characters in a save buffer. |
Control-U |
Erases entire line, storing erased characters in a save buffer. |
Control-R |
Retypes the line. |
Control-Q |
Quotes next character (allows you to insert control characters). |
Control-Y |
Inserts the contents of the save buffer before the cursor. |
Control-P |
Selects and displays the previous line for subsequent editing. |
Control-N |
Selects and displays the next line for subsequent editing. |
Control-L |
Displays the entire contents of the editing buffer. |