Useful commands for zsh

Posted by Sean's Blog on Tuesday, November 30, 2021

Moving the cursor

  • Ctrl+A: To move to the beginning of the current line.
  • Ctrl+E: To move to the end of the current line.

Manipulating your typing

  • Ctrl+W: To delete the word in front of the cursor.
  • Ctrl+U: To clear the entire line.
  • Ctrl+K: To clear the characters on the line after the current cursor position.

comments powered by Disqus