I made this doc to aggregate all the keyboard shortcuts from Kevin Ushey’s talk: What’s New in the IDE? at RStudio::conf 2017 in one place. Everything is lifted from his slides. If you find this one page summary useful thank him not me.
Tab, the former will also work on new lines.
supports fuzzy matching. e.g.
symbols can or cannot be present in the target completion.
scans file for auto-completion candidates, not just global environment.
filename completion searches recursively in sub directories and completes with full path name.
works correctly inside
Ctrl + .: Fuzzy find files This will change your life, I promise!
Ctrl + Shift + F: Find in files
Ctrl + Enter: Execute statement under cursor, possibly spanning multiple lines.
Ctrl + Alt + Shift + M: Rename in scope. Refactoring FTW!
Ctrl + Shift + A: Reformat selection.
Ctrl + Alt + Up/Downor
Alt + mouse click-n-drag: Multiple cursors.
Alt + -: Inserts the omnipresent
Crtl + Shift + M: Inserts une pipe (
Ctrl + Shift + 0: Toggles document overview.
Ctrl + Shift + I: Inserts R code chunk.
Crtl + Shift + Enter: Runs a whole R code chunk in Rmarkdown.
Ctrl + PgUp/PgDn: Go Chunk Up/Down.
Ctrl + 1/2: Transfer focus between editor/console.
Ctrl + Shift + 1/2: Zooms editor/console.
Alt + Shift + K: Show keyboard shortcuts.