iTerm Key bindings

Here are some key bindings that I use in iTerm and how to set them up.

Open up the iTerm profiles window.
Edit the default profile or whatever profile you want to use.
Navigate to the Keys preferences.
Click the plus icon to add new shortcuts.

To move cursor forward one word with Option + rightarrow:
Escape sequence: f

To move cursor back one word with Option + leftarrow:
Escape sequence: b

To delete a word to the left with Option + Backspace (left delete)
Send hex code: 17

To delete a word to the right with Option + Del (right delete)
Escape sequence: d

See the external references for pretty pictures and more explanation :)

External References

Article Type

General