1. 程式人生 > >iTerm一些基本命令

iTerm一些基本命令

標籤

新建標籤:command + t

關閉標籤:command + w

切換標籤:command + 數字 command + 左右方向鍵

切換全屏:command + enter

查詢:command + f

分屏

垂直分屏:command + d

水平分屏:command + shift + d

切換螢幕:command + option + 方向鍵 command + [ 或 command + ]

檢視歷史命令:command + ;

檢視剪貼簿歷史:command + shift + h

其他

清除當前行:ctrl + u

到行首:ctrl + a

到行尾:ctrl + e

前進後退:ctrl + f/b (相當於左右方向鍵)

上一條命令:ctrl + p

搜尋命令歷史:ctrl + r

刪除當前游標的字元:ctrl + d

刪除游標之前的字元:ctrl + h

刪除游標之前的單詞:ctrl + w

刪除到文字末尾:ctrl + k

交換游標處文字:ctrl + t

清屏1:command + r

清屏2:ctrl + l