Today I Learned

Giant Monkeys Learning

You can jump to slash in zsh

After changing from bash to zsh I found it quite annoying that ⌥ + ← was always jumping to the closest white character, instead to space or slash (or some other special characters considered to be word-separators).

Fortunately it’s possible to change this behaviour by editing the WORDCHARS env variable.

Source: https://github.com/ohmyzsh/ohmyzsh/issues/5108#issuecomment-233480020