Character Function Summary -------------------------- The following list describes the meaning of each character that's used by the editor. Some characters have meaning in both command and insert mode; these are all described. ^@ The null character. Not used in any mode. This character may not be present in the file. ^B Backward one screen. ^D Scroll the window down one half screen. ^E Scroll the screen up one line. ^F Forward one screen. ^G Same as ":f" command. Displays file information. ^H (BS) Moves cursor left one space in command mode. In insert mode, erases the last character typed. ^J Move the cursor down one line. ^L Clear and redraw the screen. ^M (CR) Move to the first non-white character in the next line. In insert mode, a carriage return opens a new line for input. ^N Move the cursor down a line. ^P Move the cursor up a line. ^U Scroll the window up one half screen. ^Y Scroll the screen down one line. ^[ Escape cancels a pending command in command mode, and terminates insert mode. ^] Moves to the tag whose name is given by the word in which the cursor resides. SPACE Move the cursor right on column. $ Move to the end of the current line. % If the cursor rests on a paren '()', brace '{}', or bracket '[]', move to the matching one. ' Used to move the cursor to a previously marked position, as in 'a or 'b. The cursor moves to the start of the marked line. The special mark '' refers to the "previous context". + Same as carriage return, in command mode. , Reverse of the last t, T, f, or F command. - Move to the first non-white character in the previous line. . Repeat the last edit command. / Start of a forward string search command. String searches may be optionally terminated with a closing slash. To search for a slash use '\/' in the search string. 0 Move to the start of the current line. Also used within counts. 1-9 Used to add 'count' prefixes to commands. : Prefix character for "ex" commands. ; Repeat last t, T, f, or F command. < The 'left shift' operator. > The 'right shift' operator. ? Same as '/', but search backward. A Append at the end of the current line. B Backward one blank-delimited word. C Change the rest of the current line. D Delete the rest of the current line. E End of the end of a blank-delimited word. F Find a character backward on the current line. G Go to the given line number (end of file, by default). H Move to the first non-white char. on the top screen line. I Insert before the first non-white char. on the current line. J Join two lines. L Move to the first non-white char. on the bottom screen line. M Move to the first non-white char. on the middle screen line. N Reverse the last string search. O Open a new line above the current line, and start inserting. P Put the yank/delete buffer before the current cursor position. T Reverse search 'upto' the given character. W Move forward one blank-delimited word. X Delete one character before the cursor. Y Yank the current line. Same as 'yy'. ZZ Exit from the editor, saving changes if necessary. [[ Move backward one C function. ]] Move forward one C function. ^ Move to the first non-white on the current line. ` Move to the given mark, as with '. The distinction between the two commands is important when used with operators. a Append text after the cursor. b Back one word. c The change operator. d The delete operator. e Move to the end of a word. f Find a character on the current line. h Move left one column. i Insert text before the cursor. j Move down one line. k Move up one line. l Move right one column. m Set a mark at the current position (e.g. ma or mb). n Repeat the last string search. o Open a new line and start inserting text. p Put the yank/delete buffer after the cursor. r Replace a character. s Replace characters. t Move forward 'upto' the given character on the current line. u Undo the last edit. w Move forward one word. x Delete the character under the cursor. y The yank operator. z Redraw the screen with the current line at the top (zRETURN), the middle (z.), or the bottom (z-). | Move to the column given by the preceding count.