RStudio (MacOS)

Source

Preview HTML (markdown and HTML)

Command + Shift + K

All hotkeys for RStudio (MacOS)

Console
Move cursor to console

Ctrl + 2

Console
Clean console

Ctrl + L

Console
Move cursor to beginning of line

Command + Left

Console
Move cursor to end of line

Command + Right

Console
Navigate command history

Up / Down

Console
Popup command history

Command + Up

Console
Interrupt currently executing command

Esc

Console
Change working directory

Ctrl + Shift + H

Source
Goto file/function

Ctrl + .

Source
Move cursor to source editor

Ctrl + 1

Source
New document (except on chrome/windows)

Command + Shift + N

Source
New document (Chrome only)

Command + Option + Shift + N

Source
Open document

Command + O

Source
Save active document

Command + S

Source
Close active document (except on Chrome)

Command + W

Source
Close active document (Chrome only)

Command + Option + W

Source
Close all open documents

Command + Shift + W

Source
Preview HTML (markdown and HTML)

Command + Shift + K

Source
Compile notebook/compile PDF (TeX and Sweave)

Command + Shift + K

Source
Insert chunk (Sweave and Knitr)

Command + Option + I

Source
Insert code section

Command + Shift + R

Source
Run current line/selection

Command + Enter

Source
Run current line/selection (retain cursor position)

Option + Enter

Source
Re-run previous region

Command + Shift + P

Source
Run current document

Command + Option + R

Source
Run from document beginning to current line

Command + Option + B

Source
Run from current line to document end

Command + Option + E

Source
Run from current line to document end

Command + Option + F

Source
Run the current code section

Command + Option + T

Source
Run previous sweave/Rmd code

Command + Option + P

Source
Run the current Sweave/Rmd chunk

Command + Option + C

Source
Run the next Sweave/Rmd chunk

Command + Option + N

Source
Source a file

Command + Shift + O

Source
Source the current document

Command + Shift + S

Source
Source the current document (with echo)

Command + Shift + Enter

Source
Fold selected

Command + Option + L

Source
Unfold selected

Command + Shift + Option + L

Source
Fold all

Commad + Option + O

Source
Unfold all

Commad + Shift + Option + O

Source
Go to line

Commad + Shift + Option + G

Source
Jump to

Commad + 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

Command + F9

Source
Navigate forward

Command + F10

Source
Extract function from selection

Command + Option + X

Source
Extract variable from selection

Command + Option + V

Source
Reindent lines

Command + I

Source
Comment/uncomment current line/selection

Command + Shift + C

Source
Reflow comment

Command + Shift + /

Source
Reformat selection

Command + Shift + A

Source
Show diagnostics

Command + Shift + Shift + P

Source
Move lines Up/Down

Option + Up/Down

Source
Copy lines Up/Down

Command + Option + Up/Down

Source
Jump to matching Brace/Paren

Ctrl + P

Source
Expand to matching Brace/Paren

Ctrl + Shift + E

Source
Select to matching Brace/Paren

Command + Shift + Option + E

Source
Add cursor above current cursor

Ctrl + Option + Up

Source
Add cursor beow current cursor

Command + Option + Down

Source
Move active cursor up

Ctrl + Option + Shift + Up

Source
Move Active Cursor Down

Ctrl + Option + Shift + Down

Source
Find and replace

Command + F

Source
Find next

Commad + G

Source
Find previous

Commad + Shift + F3

Source
Use selection for find

Command + E

Source
Replace and find

Command + Shift + J

Source
Find in files

Command + Shift + F

Source
Check spelling

F7

Completions (Console and Source)
Attempt completion

Tab / Command + Space

Completions (Console and Source)
Navigate candidates

Up / Down

Completions (Console and Source)
Accept selected candidate

Enter / Tab / Right

Completions (Console and Source)
Dismiss completion popup

Esc

Views
Move focus to Source Editor

Command + 1

Views
Move focus to Console

Command + 2

Views
Move focus to Help

Command + 3

Views
Show History

Command + 4

Views
Show files

Command + 5

Views
Show plots

Command + 6

Views
Show packages

Command + 7

Views
Show environment

Command + 8

Views
Show git/svn

Command + 9

Views
Show build

Command + 0

Views
Sync editor & pdf preview

Command + F8

Views
Reference

Option + Shift + K

Build
Build and reload

Command + Shift + B

Build
Load all (devtools)

Command + Shift + L

Build
Test package (desktop)

Command + Shift + T

Build
Test package (web)

Command + Option + F7

Build
Check package

Command + Shift + E

Build
Document package

Command + 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

Command + Option + F11

Plots
Next plot

Command + Option + F12

Git / SVN
Diff active source document

Ctrl + Option + D

Git / SVN
Commit changes

Ctrl + Option + M

Git / SVN
Scroll diff view

Ctrl + Up/Down

Git / SVN
Stage/unstage(Git)

Spacebar

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

Enter

Session
Quit Session (desktop only)

Command + Q

Session
Restart R Session

Command + Shift + F10

Editing (Console and Source)
Undo

Command + Z

Editing (Console and Source)
Redo

Command + Shift + Z

Editing (Console and Source)
Cut

Command + X

Editing (Console and Source)
Copy

Command + C

Editing (Console and Source)
Paste

Command + V

Editing (Console and Source)
Select all

Command + A

Editing (Console and Source)
Jump to word

Command + Left/Right

Editing (Console and Source)
Jump to start/end

Command + Home/End / Command + Up/Down

Editing (Console and Source)
Delete line

Command + D

Editing (Console and Source)
Select

Shift + Arrow

Editing (Console and Source)
Select word

Option + Shift + Left/Right

Editing (Console and Source)
Select to line start

Command + Shift + Left

Editing (Console and Source)
Select to line end

Command + Shift + RIght

Editing (Console and Source)
Select page up/down

Shift + Page Up / Shift + Page down

Editing (Console and Source)
Select page start/end

Command + Shift + Home/End

Editing (Console and Source)
Delete word left

Option + Backspace

Editing (Console and Source)
Indent

Tab

Editing (Console and Source)
Outdent

Shift + Tab

Editing (Console and Source)
Yank line up to cursor

Ctrl + U

Editing (Console and Source)
Yank line after cursor

Ctrl + K

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

Command + 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++)

Command + Option + U

Similar combinations for other applications


Photoshop Lightroom CC (MacOS)
Edit Keywords
Metadata and Keywords in Library Module

Command + Shift + K


Adobe Premiere CC (MacOS)
Add edit to track
Clipping Shortcuts

Command + Shift + K


Safari Browser (MacOS)
Block plugins
Menu Shortcuts

Command + Shift + K


Corel Painter 2017 (MacOS)
Correct colors
Brushes

Command + Shift + K


Photoshop Lightroom CC (MacOS)
Show/ hide image cells
Print Module

Command + Shift + K


Adobe After Effects CC (MacOS)
Set velocity for selected Keyframes
Keyframes and Graph Editor

Command + Shift + K


Adobe After Effects CC (MacOS)
Turn All Caps on or off for selected text
Text

Command + Shift + K


Atom (text editor) 1.0 (MacOS)
Delete line
Editing Lines

Command + Shift + K


Sublime Text (MacOS)
Delete Line
General Editing Shortcuts

Command + Shift + K


Slack (MacOS)
Direct Message Menu
Navigation Controls

Command + Shift + K


Eclipse Helios (MacOS)
Find Previous
Find and Replace Shortcuts

Command + Shift + K


IntelliJ (MacOS)
Push Commits
VCS/Local History

Command + Shift + K


Desk.com (MacOS)
Open Knowledge Base
Case View

Command + Shift + K


Opera (MacOS)
Upload queued messages to mail server
Email

Command + Shift + K


InCopy CC (MacOS)
Toggle all caps (on/off)
Working with Types

Command + Shift + K


Adobe Captivate 2017 (MacOS)
Add a new click box
General and Miscellaneous Shortcuts

Command + Shift + K


Aptana Studio 3 (MacOS)
Find Previous
Find and Replace

Command + Shift + K


Titanium (MacOS)
Find Previous
Search

Command + Shift + K


Ableton Live 9 (MacOS)
Computer MIDI Keyboard
Key/Mini Map Mode and the Computer Keyboard

Command + Shift + K


Vectorworks (MacOS)
Palettes–Working Planes
Window Menu

Command + Shift + K


Sage Simply Accounting (MacOS)
Print this invoice and packing slip
Keyboard Shortcuts in Transaction Windows

Command + Shift + K


Apple XCode 8 (MacOS)
Clean
Build and Run

Command + Shift + K


Adobe After Effects CS5 (MacOS)
Set velocity for selected keyframes
Keyframes and Graph Editor

Command + Shift + K


Adobe After Effects CS5 (MacOS)
Turn All Caps on or off for selected text
Text

Command + Shift + K