1、打開preferences-Profiles 進(jìn)入配置文件

Paste_Image.png
2、在General選項(xiàng)下
a、name 給你要連接的服務(wù)器項(xiàng)目起個(gè)名字
b、shortcut key 設(shè)置快捷鍵 快捷鍵可自己選擇是control+command+字母
c、command中填寫你要進(jìn)入的服務(wù)器域名
d、Send text at start:輸入命令打開自己的項(xiàng)目路徑
如圖:

Paste_Image.png
如果想要設(shè)置固定標(biāo)簽名稱,參考如下:

Paste_Image.png

Paste_Image.png
最終效果:輸入快捷鍵 iterm2的效果

Paste_Image.png
參考:
http://littlewhite.us/archives/393 iTerm2固定標(biāo)簽名字