News for hackers. Stuff that matters.
Re:Little known features of iTerm2 by freakcage on Monday March 02, 2020 @05:07AM (#22463099)
Cool article, but here I am don't know how to jump between words on iterm2
Re:Little known features of iTerm2 by mikeappell on Monday March 02, 2020 @07:53AM (#22463935)
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...

Re:Little known features of iTerm2 by acidictadpole on Monday March 02, 2020 @11:34AM (#22465891)
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.