Shortcuts ftw! 😀

  • ctrl + a – move to the beginning of line
  • ctrl + e – move to the end of line
  • option + left arrow – move one word backward
  • option + right arrow – move one word forward
  • ctrl + b – move cursor backward
  • ctrl + f – move cursor forward
  • ctrl + u – clear entire line
  • ctrl + k – delete everything after cursor
  • ctrl + w – delete one word backward

For future reference, of course. There are some other oh-my-zsh shortcuts that may help you.