RStudio (Mac)

Source

Find Next

⌘ Cmd + G

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
Find next
General

⌘ Cmd + G


App Maker
Find next
Code editor shortcuts - Mac

⌘ Cmd + G


Substance Painter (Mac)
Group layer
Non-editable shortcuts

⌘ Cmd + G


TextMate
Find next
General

⌘ Cmd + G


Final Cut Pro X
Create a storyline from a selection of connected clips
Editing

⌘ Cmd + G


GeoGebra
Show/Hide selected objects
Mac desktop

⌘ Cmd + G


Ableton Live 10 (Mac)
Group/Ungroup Devices
Working with Plug-Ins and Devices

⌘ Cmd + G


Adobe Illustrator (Mac)
Group the selected artwork
Work with selections

⌘ Cmd + G


Sketch
Group selection
Arranging layers

⌘ Cmd + G


QuickBooks Desktop (Mac)
Edit > Go To Transfer
Editing

⌘ Cmd + G


Ace Editor (Mac)
Find next
Find / replace

⌘ Cmd + G


Adobe Bridge CC (Mac)
Group as stacks
Stacks menu

⌘ Cmd + G


Total War: Attila (Mac)
Toggle locked group
Battles: Unit / group

⌘ Cmd + G


Adobe Lightroom Classic (Mac)
Group into stack
Comparing photos in the Library module

⌘ Cmd + G


Adobe Animate CC (Mac)
Group
Edit and modify

⌘ Cmd + G


Kindle for Mac
Go to Location
Reading a Book

⌘ Cmd + G


Adobe Dimension CC (Mac)
Group
Object menu

⌘ Cmd + G


Roll20
Text tool
Tools

⌘ Cmd + G


Autodesk SketchBook (Mac)
Add Group
Tools

⌘ Cmd + G


Adobe Premiere Pro (Mac)
Group
Clip

⌘ Cmd + G


Corel Painter (Mac)
Group
Layer selection tools

⌘ Cmd + G


GitHub
Find next
Source code editing

⌘ Cmd + G


Pixelmator Pro
Group layers
Work with layers

⌘ Cmd + G


Adobe XD (Mac)
Group
Object menu

⌘ Cmd + G


IntelliJ IDEA (macOS)
Find next
Search and replace

⌘ Cmd + G


AWS Cloud9 IDE (Mac)
Find Next
Find

⌘ Cmd + G


CodeMirror
Find next
General (Mac)

⌘ Cmd + G


Brackets
Find next
General

⌘ Cmd + G


Apple iBooks
Find next
General

⌘ Cmd + G


Apple GarageBand
Turn Snap to Grid on/off
General

⌘ Cmd + G


Apple Pages
Find next
Using editing tools

⌘ Cmd + G


Xcode
Find the next occurrence of the selection (equivalent to the Find Next command)
Other system and application shortcuts

⌘ Cmd + G


Visual Studio Code (Mac)
Find next
Search and replace

⌘ Cmd + G


Apple macOS
Find Again: Find the next occurrence of the item previously found. To find the previous occurrence, press Command + Shift + G
Cut, copy, paste, and other common shortcuts

⌘ Cmd + G


CoffeeCup Web Editor
Find next
Search

⌘ Cmd + G


Skype
New group
New Skype shortcuts (Mac)

⌘ Cmd + G


Adobe Acrobat 2017 (Mac)
Move to next search result and highlight it in the document
General navigating

⌘ Cmd + G


Final Draft 11 (Mac)
Go to
Cmd key

⌘ Cmd + G