mac vscode快捷鍵

mac篇code

全屏:control+command+f文檔

退出全屏:control+command+fcmd

vscode篇io

全局終端

Command + Shift + P / F1 顯示命令面板command

Command + Shift + N 打開新窗口移動

Command + W 關閉窗口co

cmd + option + ][ 摺疊代碼字符


查找替換let

Command + F 查找

Command + Option + F 替換

Command + G 查找下一個

Command + Shift + G 查找上一個

Option + Enter 選中全部匹配項

Command + D 向下選中相同內容

Command + K Command + D 移除前一個向下選中相同內容


集成終端

Ctrl + ` 顯示終端

Ctrl + Shift + ` 新建終端


光標移動

option + ← 移動到單詞的最前面

option + → 移動到單詞最末尾

option + ← 移動到單詞的最前面

option + → 移動到單詞最末尾

option + ↑ 將當前行代碼移動到上一行

option + ↓ 將當前行代碼移動到下一行

cmd + ← 移動到當前行最前面

cmd + → 移動到當前行最末尾

cmd + shift + \ 花括號之間跳轉

cmd + ↑ / cmd + ↓ 移動到文檔第一行或最後一行


刪除操做


cmd + fn + delete 刪除當前行光標後的全部字符

cmd + delete 刪除當前行光標前的全部字符

option + fn + delete 刪除當前單詞光標後的字符

option + delete 把當前單詞光標前的字符刪除

相關文章
相關標籤/搜索