Moving |
C-a | move to the beginning of the line |
C-e | move to the end of the line |
C-f | move 1 char forward |
C-b | move 1 char backward |
M-f | move 1 word forward |
M-b | move 1 word backward |
C-p | move to the previous comm from the history |
C-n | move to the next comm from the history |
M-< | move to the first comm from the history |
Editing |
C-d | delete 1 char under cursor |
DEL, BACKSPACE | delete the char to the left of the cursor. |
C-_ or C-x C-u | Undo the last editing command |
C-l | clear the screen. |
Killing and Yanking |
C-k | kill from current position to the end of the line |
C-x | kill from current position to the beginning of the line |
C-u | kill from current position to the beginning of the line |
M-d | kill from current position to the end of the current word. |
C-w | kill from current position to the previous whitespace. |
M-Del | kill from current position to the start of the word. |
C-y | yank the most recently killed text. |
M-y | rotate the kill-ring. |
C-j | terminate incremental searching. ( or Esc ). |
<TAB> | complition |
M-? | list the possible complitions |
M-* | insert all complissions |
C-g | abort the current editing command |
Changing Text |
C-t | replace 2 characters |
M-t | replace 2 words |
M-u | uppercase word |
M-l | lowercase word |
M-c | capitalize word |