Another Mac annoyance is jumping word to word in a terminal window. There are several forum posts about this, but I managed to get them wrong, so I'm adding another that works for me:
Open Terminal > Preferences > Settings > Keyboard.
Click the + and set values as below.
The trick is to get the textbox to take the correct value. To do this, get it in the clipboard and paste it so it looks like this.