For Mac development configuration, refer to these resources: http://www.dreamxu.com/mac-terminal/
https://aaaaaashu.gitbooks.io/mac-dev-setup/content/Git/index.html
https://laoshuterry.gitbooks.io/mac_os_setup_guide/content/4_ZshConfig.html
Below are some commonly used commands and configurations
iTerm
-
Split Screen
Vertical split:
cmd+d
Horizontal split:
cmd+shift+d
Close split:
cmd+w
Maximize current split:
shift+cmd+enter
Switch between splits:
alt+cmd+arrow keys
-
Tabs
New tab:
cmd+t
Close tab:
cmd+w
Switch tabs:
cmd+arrow keys
Switch to specific tab:
cmd+number
-
Commands
Move to beginning of line:
^ + a
Move to end of line:
^ + e
Move forward:
^ + f
Move backward:
^ + b
Move forward one word:
ESC + f
Move backward one word:
ESC + b
Resize split panes:
Ctrl+Command+arrow keys
-
Configuration
Recommended color scheme: solarized dark higher contrast
zsh
Configuration file path: ~/.zshrc