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+dHorizontal split:
cmd+shift+dClose split:
cmd+wMaximize current split:
shift+cmd+enterSwitch between splits:
alt+cmd+arrow keys -
Tabs
New tab:
cmd+tClose tab:
cmd+wSwitch tabs:
cmd+arrow keysSwitch to specific tab:
cmd+number -
Commands
Move to beginning of line:
^ + aMove to end of line:
^ + eMove forward:
^ + fMove backward:
^ + bMove forward one word:
ESC + fMove backward one word:
ESC + bResize split panes:
Ctrl+Command+arrow keys -
Configuration
Recommended color scheme: solarized dark higher contrast
zsh
Configuration file path: ~/.zshrc