Keyboard shortcuts

  • Alt + Shift + / to duplicate lines (code duplication is to be avoided, but...)
    (just discovered Ctrl + Shift + D that does almost the same)

  • Alt + / to move line(s): very often one I've just duplicated, or can be a code chunk, or a single line in a %>%-line, or reorder my library() statements, that kind of things

  • Ctrl + Shift + F to "grep" code in my project (especially in the context of Discerning intra-code dependencies)

  • F1 for help

  • F2 for definition

1 Like