Remapping iTerm arrow keys

I’ve struggled to navigate the command line since switching to iTerm2, but Marius’s post about remapping the arrow and delete keys fixed that issue.

Go to Profiles > Keys > Key Mapping to add/alter the mappings listed below:

⌥ ←Jump to start of wordSend Escape Sequenceb
⌥ →Jump to end of wordSend Escape Sequencef
⌘ ←Jump to start of lineSend Hex Code0x01
⌘ →Jump to end of lineSend Hex Code0x05
⌥ ⌫Delete to start of wordSend Hex Code0x17
⌘ ⌫Delete entire lineSend Hex Code0x15