1. 基本配置: term 2 + zsh + oh my zsh
- http://xingrz.me/2013/2013-06-19/terminal-zhuangbility.html
- http://www.dreamxu.com/mac-terminal/
- http://danielfree.net/archives/1117
- https://github.com/tomislav/osx-terminal.app-colors-solarized
- 更改字体支持 monoca powerline:https://github.com/supermarin/powerline-fonts
- https://github.com/robbyrussell/oh-my-zsh
2. 常用编辑命令
- Ctrl + a : 光标移动到行首
- Ctrl + e : 光标移动到行末
- Ctrl + u : 删除一整行
- Ctrl + l : 清屏
- Ctrl + d : 删除当前字符
- Ctrl + h : 删除前一个字符
- Ctrl + w : 删除光标之前的单词
- Ctrl + k : 删除光标之后整行
- Ctrl + t : 交换光标和之前的字符
3. 其他快捷键
- command + Click : 可以打开文件,文件夹和链接
- command + 数字键 / command + 方向键 : tab之间的切换
- command + f : 搜索
- command + d : 垂直分割屏幕
- command + shift + d : 水平分割屏幕
- command + enter : 全屏模式
- command + option + e : 搜索所有tab
- command + shift + h : 列出剪切板历史
- command + / : 显示光标位置
- command + t : 新建标签
- command + w : 关闭当前页
- command + n : 新建窗口