一、安裝
到官方網(wǎng)站去下載一個直接安裝就好了 https://iterm2.com/downloads.html
二、配置顏色
- 到官方的主題配置網(wǎng)站https://github.com/mbadolato/iTerm2-Color-Schemes下載解壓到本地
-
打開iterm(preferences > profiles > colors)
step1.png
step.png
然后選擇倒入即import
打開剛下載解壓好的文件夾溯乒,打開schemes 文件夾,全選那些配色方案蝴光,點open,這樣就把所有的配色方案導(dǎo)入了配置.bash_profile
vim $HOME/.bash_profile
添加下面一段代碼
CLICOLOR=1
LSCOLORS=gxfxcxdxegedabagacad
export PS1='[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$'
export TERM=xterm-color
source $HOME/.bash_profile
三吭历、常用快捷鍵
- 新建標(biāo)簽 command+t
- 關(guān)閉標(biāo)簽 command+w
- 切換全屏 command+enter
- 查找 command+f
- 垂直分屏 command+d
- 水平分屏 command+shift+d
- 切換分屏 command+option+方向鍵
- 查看歷史 command+;