RStudio (Mac)

Editing (Console and Source)

Delete Word Right

⌥ Option + Del

All hotkeys for RStudio (Mac)

Views
Move focus to Console

Ctrl + 2

Console
Clear console

Ctrl + L

Console
Move cursor to beginning of line

⌘ Cmd +

Console
Move cursor to end of line

⌘ Cmd +

Completions (Console and Source)
Navigate candidates

↑  ↓

Console
Popup command history

⌘ Cmd +

Completions (Console and Source)
Dismiss completion popup

Esc

Console
Change working directory

Ctrl + ↑   Shift + H

Source
Goto File/Function

Ctrl + .

Views
Move focus to Source Editor

Ctrl + 1

Source
New document (except on Chrome/Windows)

⌘ Cmd + ↑   Shift + N

Source
New document (Chrome only)

⌘ Cmd + ↑   Shift + Alt + N

Source
Open document

⌘ Cmd + O

Source
Save active document

⌘ Cmd + S

Source
Close active document (except on Chrome)

⌘ Cmd + W

Source
Close active document (Chrome only)

⌘ Cmd + ⌥ Option + W

Source
Close all open documents

⌘ Cmd + ↑   Shift + W

Source
Compile PDF (TeX and Sweave)

⌘ Cmd + ↑   Shift + K

Source
Insert chunk (Sweave and Knitr)

⌘ Cmd + ⌥ Option + I

Source
Insert code section

⌘ Cmd + ↑   Shift + R

Source
Run current line/selection

⌘ Cmd + ⤶ Enter

Source
Run current line/selection (retain cursor position)

⌥ Option + ⤶ Enter

Source
Re-run previous region

⌘ Cmd + ↑   Shift + P

Source
Run current document

⌘ Cmd + ⌥ Option + R

Source
Run from document beginning to current line

⌘ Cmd + ⌥ Option + B

Source
Run from current line to document end

⌘ Cmd + ⌥ Option + E

Source
Run the current function definition

⌘ Cmd + ⌥ Option + F

Source
Run the current code section

⌘ Cmd + ⌥ Option + T

Source
Run previous Sweave/Rmd code

⌘ Cmd + ⌥ Option + P

Source
Run the current Sweave/Rmd chunk

⌘ Cmd + ⌥ Option + C

Source
Run the next Sweave/Rmd chunk

⌘ Cmd + ⌥ Option + N

Source
Source a file

⌘ Cmd + ↑   Shift + O

Source
Source the current document

⌘ Cmd + ↑   Shift + S

Source
Source the current document (with echo)

⌘ Cmd + ↑   Shift + ⤶ Enter

Source
Fold Selected

⌘ Cmd + ⌥ Option + L

Source
Unfold Selected

⌘ Cmd + ↑   Shift + ⌥ Option + L

Source
Fold All

⌘ Cmd + ⌥ Option + O

Source
Unfold All

⌘ Cmd + ↑   Shift + ⌥ Option + O

Source
Go to line

⌘ Cmd + ↑   Shift + ⌥ Option + G

Source
Jump to

⌘ Cmd + ↑   Shift + ⌥ Option + J

Source
Switch to tab

Ctrl + ↑   Shift + .

Source
Previous tab

Ctrl + F11

Source
Next tab

Ctrl + F12

Source
First tab

Ctrl + ↑   Shift + F11

Source
Last tab

Ctrl + ↑   Shift + F12

Source
Navigate back

⌘ Cmd + F9

Source
Navigate forward

⌘ Cmd + F10

Source
Extract function from selection

⌘ Cmd + ⌥ Option + X

Source
Extract variable from selection

⌘ Cmd + ⌥ Option + V

Source
Reindent lines

⌘ Cmd + I

Source
Comment/uncomment current line/selection

⌘ Cmd + ↑   Shift + C

Source
Reflow Comment

⌘ Cmd + ↑   Shift + /

Source
Reformat Selection

⌘ Cmd + ↑   Shift + A

Source
Show Diagnostics

⌘ Cmd + ↑   Shift + Alt + P

Source
Transpose Letters

Ctrl + T

Source
Move Lines Up/Down

⌥ Option + ↑  ↓

Source
Copy Lines Up/Down

⌘ Cmd + ⌥ Option + ↑  ↓

Source
Jump to Matching Brace/Paren

Ctrl + P

Source
Expand to Matching Brace/Paren

Ctrl + ↑   Shift + E

Source
Select to Matching Brace/Paren

Ctrl + ↑   Shift + Alt + E

Source
Add Cursor Above Current Cursor

Ctrl + Alt +

Source
Add Cursor Below Current Cursor

Ctrl + Alt +

Source
Move Active Cursor Up

Ctrl + Alt + ↑   Shift +

Source
Move Active Cursor Down

Ctrl + Alt + ↑   Shift +

Source
Find and Replace

⌘ Cmd + F

Source
Find Next

⌘ Cmd + G

Source
Find Previous

⌘ Cmd + ↑   Shift + G

Source
Use Selection for Find

⌘ Cmd + E

Source
Replace and Find

⌘ Cmd + ↑   Shift + J

Source
Find in Files

⌘ Cmd + ↑   Shift + F

Source
Check Spelling

F7

Editing (Console and Source)
Undo

⌘ Cmd + Z

Editing (Console and Source)
Redo

⌘ Cmd + ↑   Shift + Z

Editing (Console and Source)
Cut

⌘ Cmd + X

Editing (Console and Source)
Copy

⌘ Cmd + C

Editing (Console and Source)
Paste

⌘ Cmd + V

Editing (Console and Source)
Select All

⌘ Cmd + A

Editing (Console and Source)
Jump to Word

⌥ Option + ←  →

Editing (Console and Source)
Jump to Start/End

⌘ Cmd + Home

Editing (Console and Source)
Jump to Start/End

⌘ Cmd + End

Editing (Console and Source)
Jump to Start/End

⌘ Cmd + ↑  ↓

Editing (Console and Source)
Delete Line

⌘ Cmd + D

Editing (Console and Source)
Select

↑   Shift + ← ↑ → ↓

Editing (Console and Source)
Select Word

⌥ Option + ↑   Shift + ←  →

Editing (Console and Source)
Select to Line Start

⌘ Cmd + ↑   Shift +

Editing (Console and Source)
Select to Line End

⌘ Cmd + ↑   Shift +

Editing (Console and Source)
Select Page Up/Down

Shift + Page Up / Down

Editing (Console and Source)
Select to Start/End

⌘ Cmd + ↑   Shift + ↑  ↓

Editing (Console and Source)
Delete to Line Start

⌥ Option + ⬅ Backspace

Editing (Console and Source)
Delete Word Left

Ctrl + ⌥ Option + ⬅ Backspace

Editing (Console and Source)
Delete Word Right

⌥ Option + Del

Editing (Console and Source)
Yank line after cursor

Ctrl + K

Completions (Console and Source)
Accept selected candidate

⭾ Tab

Editing (Console and Source)
Outdent

↑   Shift + ⭾ Tab

Editing (Console and Source)
Yank line up to cursor

Ctrl + U

Editing (Console and Source)
Insert currently yanked text

Ctrl + Y

Editing (Console and Source)
Insert assignment operator

⌥ Option + -

Editing (Console and Source)
Insert pipe operator

⌘ Cmd + ↑   Shift + M

Editing (Console and Source)
Show help for function at cursor

F1

Editing (Console and Source)
Show source code for function at cursor

F2

Editing (Console and Source)
Find usages for symbol at cursor (C++)

⌘ Cmd + ⌥ Option + U

Completions (Console and Source)
Attempt completion

⌘ Cmd + Space

Git / SVN
Stage/Unstage and move to next (Git)

⤶ Enter

Completions (Console and Source)
Accept selected candidate

Views
Move focus to Help

Ctrl + 3

Views
Show History

Ctrl + 4

Views
Show Files

Ctrl + 5

Views
Show Plots

Ctrl + 6

Views
Show Packages

Ctrl + 7

Views
Show Environment

Ctrl + 8

Views
Show Git/SVN

Ctrl + 9

Views
Show Build

Ctrl + 0

Views
Sync Editor & PDF Preview

⌘ Cmd + F8

Views
Show Keyboard Shortcut Reference

⌥ Option + ↑   Shift + K

Build
Build and Reload

⌘ Cmd + ↑   Shift + B

Build
Load All (devtools)

⌘ Cmd + ↑   Shift + L

Build
Test Package (Desktop)

⌘ Cmd + ↑   Shift + T

Build
Test Package (Web)

⌘ Cmd + Alt + F7

Build
Check Package

⌘ Cmd + ↑   Shift + E

Build
Document Package

⌘ Cmd + ↑   Shift + D

Debug
Toggle Breakpoint

↑   Shift + F9

Debug
Execute Next Line

F10

Debug
Step Into Function

↑   Shift + F4

Debug
Finish Function/Loop

↑   Shift + F6

Debug
Continue

↑   Shift + F5

Debug
Stop Debugging

↑   Shift + F8

Plots
Previous plot

⌘ Cmd + ⌥ Option + F11

Plots
Next plot

⌘ Cmd + ⌥ Option + F12

Git / SVN
Diff active source document

Ctrl + ⌥ Option + D

Git / SVN
Commit changes

Ctrl + ⌥ Option + M

Git / SVN
Scroll diff view

Ctrl + ↑  ↓

Git / SVN
Stage/Unstage (Git)

Space

Session
Quit Session (desktop only)

⌘ Cmd + Q

Session
Restart R Session

⌘ Cmd + ↑   Shift + F10

Similar combinations for other applications


Final Cut Pro X
Reset the controls in the current Color Board pane
Effects

⌥ Option + Del


Ace Editor (Mac)
Remove word right
Line operations

⌥ Option + Del


Adobe Bridge CC (Mac)
Reject
Label menu

⌥ Option + Del


Adobe Lightroom Classic (Mac)
Remove selected photo(s) from catalog
Managing photos and catalogs

⌥ Option + Del


AWS Cloud9 IDE (Mac)
Remove Word Right
Remove Text

⌥ Option + Del


IntelliJ IDEA (macOS)
Delete to word start
Editing

⌥ Option + Del


Adobe Premiere Pro (Mac)
Ripple Delete
Timeline panel

⌥ Option + Del


Apple Pages
Delete the word before the insertion point
Formatting text

⌥ Option + Del


Valentina Studio
Delete Word Forward
Text (Mac)

⌥ Option + Del


Apple macOS
Delete the word to the left of the insertion point
Document shortcuts

⌥ Option + Del


iTunes 11 for Mac
Delete the selected song from your library and all playlists
Library and playlist

⌥ Option + Del