- End of line
Ctrl + e
- Beginning of line
Ctrl + a
-
Note: For iTerm2 you need to configure the option key to behave correctly. Go to 'preferences', under 'profiles' and in the 'keys' tab you can specify either the right or left option keys to send +Esc.
-
Forward a word
Opt + f
-
Back a word
Opt + b