Go to the first, previous, next, last section, table of contents.


Editing Lines

These commands all operate on one or more lines of text. Most use a prefix argument (if entered) to define how many lines to move or operate on.

Ctrl-n
Down
Move down one line.
Ctrl-p
Up
Move to the previous line.
Ctrl-a
Shift-Left
Move to the beginning of the current line.
Ctrl-e
Shift-Right
Move to the end of the current line.
Meta-j
Prompts for the number of a line to jump to. If a prefix argument was entered that defines the line number.
Ctrl-DEL
Kill the current line. See section Killing.
Shift-DEL
Kill from the cursor to the end of the current line.
Shift-Backspace
Kill from the cursor to the beginning of the line.
Ctrl-k
If the cursor is not at the end of the line kill the text from the cursor to the end of the line, else kill from the end of the line to the start of the next line. If this command is given an argument it kills that number of whole lines, either backwards or forwards from the cursor, depending on whether or not the argument is negative or positive. An argument of zero kills from the cursor to the start of the current line.
Ctrl-o
Create a blank new line, leaving the cursor in its original position. A prefix argument says to create that many blank lines.


Go to the first, previous, next, last section, table of contents.