How do I make
⌘+← and ⌘+→ move the text cursor very left and right of the terminal entry line. This keyboard shortcut works on most things on my mac book but not the Terminal.
Usually I use the home and end keys on other non apple computers. Strangely enough ⌃+A and ⌃+E achieve this in the mac terminal but it is the wrong key combination in my opinion. I want to do it using ⌘+← and ⌘+→.
It is similar to this question, however I want to specifically map it to ⌘+← and ⌘+→.