How to configure cursor traversal hotkeys into terminal app

This is a common practice among users to use ⌘ + →, ⌘ + ←, ⌥ + →, ⌥ +← for traversal across a line of text at varied intervals. If you are…