Key Sequence |
Action |
Ctrl-b or Left Arrow |
Move cursor back one position |
Ctrl-f or Right Arrow |
Move cursor forward on position |
Delete |
Delete character currently beneath the cursor |
Backspace |
Delete character to the left of the cursor |
Ctrl-_ |
Undo previous change (can be repeated to undo all previous changes) |
Ctrl-a |
Move cursor to the start of the line |
Ctrl-e |
Move cursor to the end of the line |
Meta-f or Esc then f |
Move cursor forward one word |
Meta-b or Esc then b |
Move cursor back on word |
Ctrl-l |
Clear the screen of everything except current command |
Ctrl-k |
Delete to end of line from current cursor position |
Meta-d or Esc then d |
Delete to end of current word |
Meta-DEL or Esc then DEL |
Delete beginning to current word |
Ctrl-w |
Delete from current cursor position to previous white space |