Hacker News new | ask | show | jobs
by acidictadpole 2304 days ago
Something that I do:

`set -o vi` and then hit `<ESC>`. You now have vim motion-like controls to navigate on the command line:

- `b` goes back a word.

- `w` goes forward a word.

- `0` goes to the beginning of the line.

- `$` goes to the end of the line.

etc.

I put `set -o vi` in my rc file so I have it on by default.