Fix 'h' and 'l' with folding and soft wraps.

- Fixes #353.
- Fixes #156.
- Fixes #363.