In my terminal, in settings->profiles->keyboard, I set some shortcuts for option-left and option-right. When I realised that these had overwritten the default "move to beginning/end of word" behaviour, I deleted them. However, now that shortcut doesn't work at all.

For example, the shift+left shortcut says \033[1;2D. Does anyone know the magical incantation for beginning/end of a word?

1 Answer 1


I have the following settings:

  • Option Left is \033b
  • Option Right is \033f
  • Thanks, that worked! It's silly that they don't have a "restore defaults" button. Commented Jan 26, 2018 at 11:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .