irb in iTerm, trying to jump by word via alt+right and alt+left produced [C and [D. The issue was that the terminal was sending key codes irb didn't like. Fortunately, the fix is easy.
- Open iTerm's preferences and edit profile shortcut keys.
- For alt+right, send the escape sequence
- For alt+left, send the escape sequence