Emacs keybindings

  • Ctrl-a: Move to the beginning of the line.
  • Ctrl-e: Move to the end of the line.
  • Ctrl-k: Delete from the current cursor position to the end of the line.
  • Ctrl-y: Yank/Paste the text killed by the last kill command (e.g., the text deleted with Ctrl-k).
  • Ctrl-d: Delete the character to the right of the cursor.
  • Ctrl-h: Delete the character to the left of the cursor.
  • Ctrl-n: Move to the next line.
  • Ctrl-p: Move to the previous line.
  • Ctrl-f: Move forward one character.
  • Ctrl-b: Move backward one character.