I know that I can jump at the beginning and end of a line inside the OS X terminal with Ctrl+A and Ctrl + E. But I'm so used to jump with Cmd+Right arrow and Cmd+Left arrow from my editor, that I would love to use this shortcuts also for the terminal.
I haven't found a solution on google, so maybe here someone can help.
Update
As in the comments, I tried the solution from Is there any way in the OS X Terminal to move the cursor word by word?
Unfortunately, the Terminal settings seems to not include Cmd as a Modifier Key, as you can see here:
fn + shift + leftArrow = goto beginning of line
fn + shift + rightArrow = goto end of line
these work for me