Some shortcut keys for terminal (terminal) under Mac
- line start
ctrl + a
- end of line
ctrl + e
- Toggle between two terminal windows
alt + 方向键
- command, previous word
esc + b
(iterm2) - next word
esc + f
ctrl + a
ctrl + e
alt + 方向键
esc + b
(iterm2)esc + f