views:

43

answers:

2

As the title says...

It's been annoying me forever that I can't skip over words when writing in the Mac terminal (it works when im logged into Debian via ssh on the Mac terminal)

I get '[D' on Mac instead of jumping a word left.

+1  A: 

Ctrl-[ b should jump back a word. You can also use Esc instead of Ctrl-[, and f to go forward.

The same key combos will work on Linux (over SSH, or sitting at the machine) and doesn't require adjusting to different keyboard layouts.

0x4b
+2  A: 

Option+b to skip back a word, option+f to skip forward a word. You also have to use the option key as the meta key.

mipadi
+1 Note: If you don't want to redefine your keys, then you can use `Esc b` and `Esc f` (don't press them at the same time. Press Esc first, release it, then press b).
Chris Lercher