mac上的命令行iterm2
2016-11-26 本文已影响87人
windgo
iterm2 可能是 mac上最好用的终端工具. 官方文档在这里: https://www.iterm2.com/documentation.html. 它主要有以下特性:
分割窗口
支持无限数量的水平,垂直分割。![](https://img.haomeiwen.com/i47832/b0760397e0ed1860.png)
Notice how inactive panes are slightly dimmed so it's easy to see which is active.
热键启动
可以选择一个热键来启动窗口。 (类似于 Visor, Guake, or Yakuake)![](https://img.haomeiwen.com/i47832/a0dd20506e1d7df0.png)
搜索
支持在窗口内进行搜索,会高亮所有匹配内容,正则也支持!![](https://img.haomeiwen.com/i47832/20817bed26353a88.png)
自动补完
利用 Cmd-; 将会弹出一个补完窗口,列出你可能想要的内容!![](https://img.haomeiwen.com/i47832/516e2ddcdfea27e9.png)
全键盘复制
先查找相关文本,然后用tab来往右选择文本, 或者用shift-tab往左选择文本. Option+enter将选择的文本贴到命令行输入里.![](https://img.haomeiwen.com/i47832/3ceff63aa985874f.gif)
粘贴历史
粘贴历史功能让你能够访问最近复制粘贴的文本. 你可以选择把历史记录存到磁盘上, 这样它就永远不会丢失了.
![](https://img.haomeiwen.com/i47832/0984b82fea2ac1cb.gif)
强大的配置功能
配色主题, 各种快捷键, 无所不能!
![](https://img.haomeiwen.com/i47832/afc05a1ae57bfd04.jpg)
![](https://img.haomeiwen.com/i47832/59858696b9dbfa1b.jpg)
![](https://img.haomeiwen.com/i47832/99de6317babd4bbb.jpg)
![](https://img.haomeiwen.com/i47832/95262f016b3d58cb.jpg)
![](https://img.haomeiwen.com/i47832/a4c7484d45d2a61f.jpg)
![](https://img.haomeiwen.com/i47832/065d9665b1db733a.jpg)
![](https://img.haomeiwen.com/i47832/5bf3cff8d9429bea.jpg)
![](https://img.haomeiwen.com/i47832/cd034e919014679a.jpg)
![](https://img.haomeiwen.com/i47832/0d78c4fa5c59fc52.jpg)
![](https://img.haomeiwen.com/i47832/dfdfa0125fdbc5cd.jpg)
![](https://img.haomeiwen.com/i47832/c559fa09dace0fcb.jpg)
![](https://img.haomeiwen.com/i47832/3bece3435b6c66de.jpg)
![](https://img.haomeiwen.com/i47832/b268880b71ec79cc.jpg)
Unixyness
符合Unix的使用习惯;
256 Colors
拥有256色模式, 代码编辑, 语法高亮都不是问题.
![](https://img.haomeiwen.com/i47832/b42ccab7e574305c.png)
可读性
智能光标和最小对比特性, 让你不会丢失光标或者难以阅读;
多语言支持
智能选择
可以智能选择 URLs, email addresses, 文件名等.