iTerm2

Moving Faster in command line

Move to the start of line    Ctrl + a
Move to the end of line    Ctrl + e
Move forward a word    Option + f
Move backward a word    Option + b
Clear the screen    ⌘ + k

And, to enable the Option key

Iterm2 -> Preferences -> Profiles -> Keys -> Left (<sign of option>) key -> select Esc+

Last updated