How do I disable option + delete/->/<- key combos when ssh into a remote linux box from my MacBook? Alternatively, map option + delete to the same function as command.+ delete. Currently I get [D, [C, etc on the screen, which is quite annoying. Thanks!
I found a comprehensive answer here, in particular the natural text editing setting.
- Go to Preferences... > Profiles > Keys
- Press Load Preset...
- Select Natural Text Editing
Then, you can move a word backwards using Option ⌥ + ← and a word forwards using Option ⌥ + →. Also you can delete a word backwards using Option ⌥ + ⌫, delete the whole line using Command ⌘ + ⌫, and more.