Hacker News new | ask | show | jobs
by freakcage 2306 days ago
Cool article, but here I am don't know how to jump between words on iterm2
2 comments

You can set this up as a shortcut. I forget exactly how I did it, but here's what seems to be a similar guide on macos:

https://coderwall.com/p/h6yfda/use-and-to-jump-forwards-back...

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.