Last Updated: February 25, 2016
· hoosteeno

set -o vi

Put it in your shell's .profile equivalent. Use vi at the command line:

  • Search history with regexes ("ESC /regex")
  • move up through commands (ESC k)
  • jump to the end of of a previous command ($)
  • use numerous other line traversal commands that your fingers will know if you use vi