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
Written by Justin Crawford
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Related Tags
#shell
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#