RStudio (Mac)

Editing (Console and Source)

Select All

⌘ Cmd + A

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


Coda for iOS
Select all
General

⌘ Cmd + A


DaVinci Resolve 15 (Mac)
Select all
Edit menu

⌘ Cmd + A


TextMate
Select all
General

⌘ Cmd + A


Ableton Live 10 (Mac)
Select all Clips/Slots
Session View commands

⌘ Cmd + A


Tableau (Mac)
Select all data
Selection tools (Tableau Desktop)

⌘ Cmd + A


GeoGebra
Select All
Mac desktop

⌘ Cmd + A


Adobe Illustrator (Mac)
Select all
Work with selections

⌘ Cmd + A


Final Cut Pro X
Select all clips
Marking

⌘ Cmd + A


Ace Editor (Mac)
Select all
Selection

⌘ Cmd + A


Total War: Attila (Mac)
Select all
Universal

⌘ Cmd + A


Adobe Lightroom Classic (Mac)
Select all photos
Comparing photos in the Library module

⌘ Cmd + A


Adobe Animate CC (Mac)
Select All
Edit and modify

⌘ Cmd + A


Adobe Dimension CC (Mac)
Select All
Edit menu

⌘ Cmd + A


Roll20
Select everything on current layer
Tools

⌘ Cmd + A


Waze Map Editor
Select Entire Street - mnemonic Select All
Editing Segments

⌘ Cmd + A


Autodesk SketchBook (Mac)
Select All
Tools

⌘ Cmd + A


Adobe Premiere Pro (Mac)
Select All
Edit

⌘ Cmd + A


elementary OS
Window overivew (across all workspaces)
General

⌘ Cmd + A


Corel Painter (Mac)
All
Select menu

⌘ Cmd + A


Adobe XD (Mac)
Select All
Edit menu

⌘ Cmd + A


CodeMirror
Select all
General (Mac)

⌘ Cmd + A


Pixelmator Pro
Select the entire image
Selection tools

⌘ Cmd + A


AWS Cloud9 IDE (Mac)
Select All
Selections

⌘ Cmd + A


Apple iBooks
Select all table borders or cell content, depending on the initial selection
Work with tables

⌘ Cmd + A


Apple iMovie
Select all clips.  To select all clips in the timeline, first click anywhere in the timeline. To select all clips in the browser, first click anywhere in the browser
Selecting and editing video

⌘ Cmd + A


Google Sheets (Mac)
Select all
Common actions

⌘ Cmd + A


Apple Pages
(after selecting a cell) Select all content in a table
Working with tables

⌘ Cmd + A


Apple GarageBand
Select all
General

⌘ Cmd + A


iPad Smart Keyboard
Select all text
Selecting and editing text

⌘ Cmd + A


Xcode
Highlight every item in a document or window, or all characters in a text field (equivalent to the Select All command)
Other system and application shortcuts

⌘ Cmd + A


Apple macOS
Select All items
Cut, copy, paste, and other common shortcuts

⌘ Cmd + A


CoffeeCup Web Editor
Select all
Clipboard

⌘ Cmd + A


iTunes 11 for Mac
Select all the songs in the list
Edit menu

⌘ Cmd + A


Adobe Acrobat 2017 (Mac)
Select or deselect all files
Working with PDF Portfolios

⌘ Cmd + A


Final Draft 11 (Mac)
Select all
Cmd key

⌘ Cmd + A