item2常用快捷鍵

2021-10-03 01:21:23 字數 1934 閱讀 8716

標籤

新建標籤: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 + r

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

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

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

刪除到文字末尾:ctrl + k

交換游標處文字:ctrl + t

清屏1:command + r

清屏2:ctrl + l

自帶有哪些很實用的功能/快捷鍵

⌘ + 數字在各 tab 標籤直接來回切換

選擇即複製 + 滑鼠中鍵貼上,這個很實用

⌘ + f 所查詢的內容會被自動複製

⌘ + d 橫著分屏 / ⌘ + shift + d 豎著分屏

⌘ + r = clear,而且只是換到新一屏,不會想 clear 一樣建立乙個空屏

ctrl + u 清空當前行,無論游標在什麼位置

輸入開頭命令後 按 ⌘ + ; 會自動列出輸入過的命令

⌘ + shift + h 會列出剪下板歷史

可以在 preferences > keys 設定全域性快捷鍵調出 iterm,這個也可以用過 alfred 實現

ps: 未來的你,一定會感謝今天拼命努力的自己!

Linux VIM 常用快捷鍵2

1 在插入模式之外 基本上來說,你應該盡可能少的呆在插入模式裡面,因為在插入模式裡面 vim 就像乙個 啞巴 編輯器一樣。很多新手都會一直呆在插入模式裡面,因為這樣易於使用。但 vim 的強大之處在於他的命令列模式!你會發現,在你越來越了解 vim 之後,你就會花越來越少的時間使用插入模式了。2 使...

Item2 用而不用

item2 用而不用 prefer to type safety and extensibility weaknesses of printf scanf are the strengths of operator and operator int i rational r r is a ratio...

item2使用Solarized主題

要在 mac os x 終端裡舒服的使用命令列 至少 需要給3個工具配色,terminal vim 和 ls.git clone git iterm2,preferences profile colors load presets 字型大小 preferences profile text 2 配置...