All bout Ed

The Ed is the editor! Special Keys

BACK SPACE Deletes the character to the left of the cursor.

DEL Deletes the character under the cursor.

ESC Switches to extended command mode.

RETURN Ends the line at the cursor and starts a new line.

TAB Moves the cursor right, adding spaces, to the next tab position.

up-arrow Moves the cursor up one line.

down-arrow Moves the cursor down one line.

left-arrow Moves the cursor one character position to the left.

right-arrow Moves the cursor one character position to the right.

Control Key Combinations

CTRL-A Inserts a line after the line on which the cursor is located.

CTRL-B Deletes the line on which the cursor is located.

CTRL-D Scrolls the text down 12 lines toward the beginning of the document.

CTRL-E If the cursor is at the top of the screen, moves the cursor to the bottom of the screen. If the cursor is at the bottom of the screen, moves the cursor to the top of the screen.

CTRL-F Switches the case (upper to lower or lower to upper) of the character under the cursor.

CTRL-G Repeats the last extended command which was issued.

CTRL-H Deletes the character to the left of the cursor. Equivalent to the BACK SPACE key.

CTRL-I Moves the cursor right to the next tab position. Equivalent to the TAB key.

CTRL-M Equivalent to the RETURN key.

CTRL-O If the cursor is on a nonblank character, deletes all characters from the cursor to the first space. If the cursor is on a space, deletes all spaces from the cursor to the first nonblank character.

CTRL-R Moves the cursor left to the first space after previous word on the current line.

CTRL-T Moves the cursor right to the first character of the next word on the current line.

CTRL-U Scrolls the text up 12 lines toward the end of the document.

CTRL-V Redisplays (Verifies) the screen. Insures that all the text is visible and is useful after moving or sizing the display window.

CTRL-Y Deletes all characters on the line starting with the character under the cursor.

CTRL-[ Switches to the extended command mode. Equivalent to the ESC key.

CTRL-] If the cursor is at the start of the line, moves the cursor to the end of the line. If the cursor is at the end of the line, moves the cursor to the start of the line.

elwis avatar
About elwis
An aging software developer with a thing for opensource software.