控制台 |
功能 |
Windows & Linux |
Mac |
移動鼠標到控制台 |
Ctrl+2 |
Ctrl+2 |
控制台清屏 |
Ctrl+L |
Command+L |
移動鼠標至第一行 |
Home |
Command+Left |
移動鼠標至最后一行 |
End |
Command+Right |
歷史記錄翻滾 |
Up/Down |
Up/Down |
彈出歷史記錄欄 |
Ctrl+Up |
Command+Up |
終止目前命令 |
Esc |
Esc |
改變工作路徑 |
Ctrl+Shift+K |
Ctrl+Shift+K |
|
代碼區 |
功能 |
Windows & Linux |
Mac |
移動鼠標到文件搜索區 |
Ctrl+. |
Ctrl+. |
移動鼠標至文件編輯區 |
Ctrl+1 |
Ctrl+1 |
新文檔(chrome除外) |
Ctrl+Shift+N |
Command+Shift+N |
打開文檔 |
Ctrl+O |
Command+O |
保存當前文檔 |
Ctrl+S |
Command+S |
關閉當前文檔(chrome除外) |
Ctrl+W |
Command+W |
關閉當前文檔(chrome) |
Ctrl+Shift+Z |
Command+Shift+Z |
關閉所有文檔 |
Ctrl+Shift+W |
Command+Shift+W |
預覽HTML |
Ctrl+Shift+Y |
Command+Shift+Y |
轉換為HTML |
Ctrl+Shift+H |
Command+Shift+H |
編譯PDF (TeX and Sweave) |
Ctrl+Shift+I |
Command+Shift+I |
插入塊 |
Ctrl+Alt+I |
Command+Option+I |
插入代碼塊 |
Ctrl+Shift+R |
Command+Shift+R |
運行當前行 |
Ctrl+Enter |
Command+Enter |
重新運行當前區 |
Ctrl+Shift+P |
Command+Shift+P |
運行當前文檔 |
Ctrl+Alt+R |
Command+Option+R |
從開始運行至當前行 |
Ctrl+Alt+B |
Command+Option+B |
從當前行運行至結尾 |
Ctrl+Alt+E |
Command+Option+E |
運行當前函數定義 |
Ctrl+Alt+F |
Command+Option+F |
運行當前塊 |
Ctrl+Alt+C |
Command+Option+C |
運行下一個塊 |
Ctrl+Alt+N |
Command+Option+N |
執行一個文件 |
Ctrl+Shift+O |
Command+Shift+O |
執行當前文檔 |
Ctrl+Shift+S |
Command+Shift+S |
執行當前文檔並且顯示 |
Ctrl+Shift+Enter |
Command+Shift+Enter |
折疊選項 |
Alt+L |
Command+Option+L |
打開選項 |
Shift+Alt+L |
Command+Shift+Option+L |
折疊所有 |
Alt+0 |
Command+Option+0 |
打開所有 |
Shift+Alt+0 |
Command+Shift+Option+0 |
前往行 |
Shift+Alt+G |
Command+Shift+Option+G |
跳至 |
Shift+Alt+J |
Command+Shift+Option+J |
換頁 |
Ctrl+Alt+Down |
Ctrl+Option+Down |
前一頁 |
Win: Ctrl+Alt+Left, Linux: Ctrl+PageUp |
Ctrl+Option+Left |
后一頁 |
Win: Ctrl+Alt+Right, Linux: Ctrl+PageDown |
Ctrl+Option+Right |
第一頁 |
Ctrl+Shift+Alt+Left |
Ctrl+Shift+Option+Left |
最后一頁 |
Ctrl+Shift+Alt+Right |
Ctrl+Shift+Option+Right |
往回導航 |
Ctrl+F9 |
Command+F9 |
向前導航 |
Ctrl+F10 |
Command+F10 |
行縮進 |
Ctrl+I |
Command+I |
從選擇中抽取函數 |
Ctrl+Shift+U |
Command+Shift+U |
注釋/取消注釋當前行 |
Ctrl+Shift+C |
Command+Shift+C |
重新注釋 |
Ctrl+Shift+/ |
Command+Shift+/ |
Transpose Letters |
|
Ctrl+T |
Move Lines Up/Down |
Alt+Up/Down |
Option+Up/Down |
Copy Lines Up/Down |
Ctrl+Alt+Up/Down |
Command+Option+Up/Down |
Jump to Matching Brace/Paren |
Ctrl+P |
Ctrl+P |
Find and Replace |
Ctrl+F |
Command+F |
Find Next |
Win: F3, Linux: Ctrl+G |
Command+G |
Find Previous |
Win: Shift+F3, Linux: Ctrl+Shift+G |
Command+Shift+G |
Replace and Find |
Ctrl+= |
Command+= |
Find in Files |
Ctrl+Shift+F |
Command+Shift+F |
Check spelling |
F7 |
F7 |
|
Editing (Console and Source) |
Description |
Windows & Linux |
Mac |
Undo |
Ctrl+Z |
Command+Z |
Redo |
Ctrl+Shift+Z |
Command+Shift+Z |
Cut |
Ctrl+X |
Command+X |
Copy |
Ctrl+C |
Command+C |
Paste |
Ctrl+V |
Command+V |
Select All |
Ctrl+A |
Command+A |
Jump to Word |
Ctrl+Left/Right |
Option+Left/Right |
Jump to Start/End |
Ctrl+Home/End or Ctrl+Up/Down |
Command+Home/End or Command+Up/Down |
Delete Line |
Ctrl+D |
Command+D |
Select |
Shift+[Arrow] |
Shift+[Arrow] |
Select Word |
Ctrl+Shift+Left/Right |
Option+Shift+Left/Right |
Select to Line Start |
Shift+Home |
Command+Shift+Left or Shift+Home |
Select to Line End |
Shift+End |
Command+Shift+Right or Shift+End |
Select Page Up/Down |
Shift+PageUp/PageDown |
Shift+PageUp/Down |
Select to Start/End |
Ctrl+Shift+Home/End or Shift+Alt+Up/Down |
Command+Shift+Up/Down |
Delete Word Left |
Ctrl+Backspace |
Option+Backspace or Ctrl+Option+Backspace |
Delete Word Right |
|
Option+Delete |
Delete to Line End |
|
Ctrl+K |
Delete to Line Start |
|
Option+Backspace |
Indent |
Tab (at beginning of line) |
Tab (at beginning of line) |
Outdent |
Shift+Tab |
Shift+Tab |
Yank line up to cursor |
Ctrl+U |
Ctrl+U |
Yank line after cursor |
Ctrl+K |
Ctrl+K |
Insert currently yanked text |
Ctrl+Y |
Ctrl+Y |
Insert assignment operator |
Alt+- |
Option+- |
Show help for function at cursor |
F1 |
F1 |
Show source code for function at cursor |
F2 |
F2 |
|
Completions (Console and Source) |
Description |
Windows & Linux |
Mac |
Attempt completion |
Tab or Ctrl+Space |
Tab or Command+Space |
Navigate candidates |
Up/Down |
Up/Down |
Accept selected candidate |
Enter, Tab, or Right |
Enter, Tab, or Right |
Dismiss completion popup |
Esc |
Esc |
|
Views |
Description |
Windows & Linux |
Mac |
Goto File/Function |
Ctrl+. |
Ctrl+. |
Move cursor to Source Editor |
Ctrl+1 |
Ctrl+1 |
Move cursor to Console |
Ctrl+2 |
Ctrl+2 |
Move focus to Help |
Ctrl+3 |
Ctrl+3 |
Show History |
Ctrl+4 |
Ctrl+4 |
Show Files |
Ctrl+5 |
Ctrl+5 |
Show Plots |
Ctrl+6 |
Ctrl+6 |
Show Packages |
Ctrl+7 |
Ctrl+7 |
Show Workspace |
Ctrl+8 |
Ctrl+8 |
Show Git/SVN |
Ctrl+9 |
Ctrl+9 |
Show Build |
Ctrl+0 |
Ctrl+0 |
Sync Editor and PDF Preview |
Ctrl+F8 |
Command+F8 |
|
Build |
Description |
Windows & Linux |
Mac |
Build and Reload |
Ctrl+Shift+B |
Command+Shift+B |
Load All (devtools) |
Ctrl+Shift+L |
Command+Shift+L |
Check Package |
Ctrl+Shift+E |
Command+Shift+E |
|
Plots |
Description |
Windows & Linux |
Mac |
Previous plot |
Ctrl+Shift+PageUp |
Command+Shift+PageUp |
Next plot |
Ctrl+Shift+PageDown |
Command+Shift+PageDown |
Show manipulator |
Ctrl+Shift+M |
Command+Shift+M |
|
Git/SVN |
Description |
Windows & Linux |
Mac |
Diff active source document |
Ctrl+Shift+D |
Command+Shift+D |
Commit changes |
Ctrl+Shift+M |
Command+Shift+M |
Scroll diff view |
Ctrl+Up/Down |
Ctrl+Up/Down |
Stage/Unstage (Git) |
Spacebar |
Spacebar |
Stage/Unstage and move next (Git) |
Enter |
Enter
|