RStudio (Mac)

Console

Change working directory

Ctrl + ↑   Shift + H

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


Vivaldi
History panel
View

Ctrl + ↑   Shift + H


Xyplorer
Show/Hide hidden files and folders
View Menu

Ctrl + ↑   Shift + H


RStudio
Change working directory
Console

Ctrl + ↑   Shift + H


KiCad 5.0.2
Add Dimension
Pcbnew

Ctrl + ↑   Shift + H


Affinity Photo
Show/Hide Studio (panels)
Workspace

Ctrl + ↑   Shift + H


LDCad
Make all currently hidden parts visible again
Editor

Ctrl + ↑   Shift + H


Cisco Jabber
Hold or resume calls
Active calls

Ctrl + ↑   Shift + H


Adobe Illustrator
Show/Hide artboards
View artwork

Ctrl + ↑   Shift + H


AutoCAD
Toggle Hide pallets
Toggle General Features

Ctrl + ↑   Shift + H


draw.io
Fit window
Navigate & view

Ctrl + ↑   Shift + H


Siemens NX
High quality image
View menu

Ctrl + ↑   Shift + H


Evernote for Windows
Highlight
Note Editor

Ctrl + ↑   Shift + H


Adobe Lightroom Classic
Show/hide guides
Working in the Print module

Ctrl + ↑   Shift + H


PaintShop Pro 2018
Brightness / contrast histogram
Shortcuts with Ctrl + Shift

Ctrl + ↑   Shift + H


Discord
Get help
General

Ctrl + ↑   Shift + H


PDF-XChange Editor
Enable/Disable the auto-scroll feature.
General

Ctrl + ↑   Shift + H


Adobe Premiere Pro (Windows)
Selection...
File

Ctrl + ↑   Shift + H


Microsoft Word 2016
Apply hidden text formatting
Format characters

Ctrl + ↑   Shift + H


Corel Painter
Hide/Display marquee
Adjuster tools

Ctrl + ↑   Shift + H


Adobe XD (Windows)
Horizontal
Distribute

Ctrl + ↑   Shift + H


NetBeans
Replace in projects
Finding, searching, and replacing

Ctrl + ↑   Shift + H


Comodo IceDragon
Library window (History)
View History

Ctrl + ↑   Shift + H


Microsoft Visual Studio 2017 (All shortcuts)
Timeline.Show (Blend only)
XAML UI Designer

Ctrl + ↑   Shift + H


Brackets
Hide Sidebar
General

Ctrl + ↑   Shift + H


IntelliJ IDEA (Windows, Linux)
Method hierarchy
Navigation

Ctrl + ↑   Shift + H


Adobe Photoshop CC
Hide path
Using the Paths panel

Ctrl + ↑   Shift + H


Maxthon
Open the home page in a new tab
Open

Ctrl + ↑   Shift + H


ACDSee
Opens or closes the Histogram pane
General

Ctrl + ↑   Shift + H


Visual Studio Code (Linux)
Replace in files
Display

Ctrl + ↑   Shift + H


Visual Studio Code (Windows)
Replace in files
Display

Ctrl + ↑   Shift + H


Outlook 2016 and Outlook 2013
Delete the next word
Text formatting

Ctrl + ↑   Shift + H


Microsoft Internet Explorer 11
Pin Favorites Center and display your history
Favorites, history and feeds

Ctrl + ↑   Shift + H


Firefox Quantum
Library window (history)
History

Ctrl + ↑   Shift + H


Adobe Acrobat Reader DC
Turn on or off automatic scrolling. To control speed and direction, use up and down arrow keys
Navigation

Ctrl + ↑   Shift + H


Everything
Show all search history
General keyboard shortcuts

Ctrl + ↑   Shift + H


Android Studio
Open method hierarchy
Navigating and searching

Ctrl + ↑   Shift + H


Skype
Toggle hold/resume state of active call
Skype for Windows 10

Ctrl + ↑   Shift + H


Microsoft OneNote
Highlight the selected text
Format notes

Ctrl + ↑   Shift + H


SQL Server Management Studio (SSMS)
Display the Replace in Files dialog box
Search

Ctrl + ↑   Shift + H


Notepad2
Toggle auto close HTML/XML
Settings

Ctrl + ↑   Shift + H


Figma
Show / hide selection
Selection

Ctrl + ↑   Shift + H