========================== RStudio raccourcis clavier ========================== Publié pour la première fois le 31/01/2019 sur https://defkey.com/fr/rstudio-raccourcis-clavier RStudio a 145 raccourcis et nous les avons énumérés ci-dessous. Console ------- Ctrl + 2 Move cursor to Console Ctrl + L Clear console Debut Move cursor to beginning of line End Move cursor to end of line Flèche vers le haut / Flèche vers le bas Navigate command history Ctrl + Flèche vers le haut Popup command history Échap Interrupt currently executing command Ctrl + Maj + H Change working directory Source ------ Ctrl + . Goto File/Function Ctrl + 1 Move cursor to Source Editor Ctrl + Maj + N New document (except on Chrome/Windows) Ctrl + Alt + Maj + N New document (Chrome only) Ctrl + O Open document Ctrl + S Save active document Ctrl + W Close active document (except on Chrome) Ctrl + Alt + W Close active document (Chrome only) Ctrl + Maj + W Close all open documents Ctrl + Maj + K Preview HTML (Markdown and HTML) Ctrl + Maj + K Knit Document (knitr) Ctrl + Maj + K Compile Notebook Ctrl + Maj + K Compile PDF (TeX and Sweave) Ctrl + Alt + I Insert chunk (Sweave and Knitr) Ctrl + Maj + R Insert code section Ctrl + Entrée Run current line/selection Alt + Entrée Run current line/selection (retain cursor position) Ctrl + Maj + P Re-run previous region Ctrl + Alt + R Run current document Ctrl + Alt + B Run from document beginning to current line Ctrl + Alt + E Run from current line to document end Ctrl + Alt + F Run the current function definition Ctrl + Alt + T Run the current code section Ctrl + Alt + P Run previous Sweave/Rmd code Ctrl + Alt + C Run the current Sweave/Rmd chunk Ctrl + Alt + N Run the next Sweave/Rmd chunk Ctrl + Maj + O Source a file Ctrl + Maj + S Source the current document Ctrl + Maj + Entrée Source the current document (with echo) Alt + L Fold Selected Maj + Alt + L Unfold Selected Alt + O Fold All Maj + Alt + O Unfold All Maj + Alt + G Go to line Maj + Alt + J Jump to Ctrl + Maj + . Switch to tab Ctrl + F11 Previous tab Ctrl + F12 Next tab Ctrl + Maj + F11 First tab Ctrl + Maj + F12 Last tab Ctrl + F9 Navigate back Ctrl + F10 Navigate forward Ctrl + Alt + X Extract function from selection Ctrl + Alt + V Extract variable from selection Ctrl + I Reindent lines Ctrl + Maj + C Comment/uncomment current line/selection Ctrl + Maj + / Reflow Comment Ctrl + Maj + A Reformat Selection Ctrl + Maj + Alt + P Show Diagnostics Alt + Flèche vers le haut / Flèche vers le bas Move Lines Up/Down Maj + Alt + Flèche vers le haut / Flèche vers le bas Copy Lines Up/Down Ctrl + P Jump to Matching Brace/Paren Ctrl + Maj + E Expand to Matching Brace/Paren Ctrl + Maj + Alt + E Select to Matching Brace/Paren Ctrl + Alt + Flèche vers le haut Add Cursor Above Current Cursor Ctrl + Alt + Flèche vers le bas Add Cursor Below Current Cursor Ctrl + Alt + Maj + Flèche vers le haut Move Active Cursor Up Ctrl + Alt + Maj + Flèche vers le bas Move Active Cursor Down Ctrl + F Find and Replace F3 (Windows) Find Next Ctrl + G (Linux) Find Next Maj + F3 (Windows) Find Previous Ctrl + Maj + G (Linux) Find Previous Ctrl + F3 Use Selection for Find Ctrl + Maj + J Replace and Find Ctrl + Maj + F Find in Files F7 Check Spelling Editing (Console and Source) ---------------------------- Ctrl + Z Undo Ctrl + Maj + Z Redo Ctrl + X Cut Ctrl + C Copy Ctrl + V Paste Ctrl + A Select All Ctrl + Flèche gauche / Flèche droite Jump to Word Ctrl + Debut Jump to Start/End Ctrl + End Jump to Start/End Ctrl + Flèche vers le haut / Flèche vers le bas Jump to Start/End Ctrl + D Delete Line Maj + Touches directionnelles Select Ctrl + Maj + Flèche gauche / Flèche droite Select Word Alt + Maj + Flèche gauche Select to Line Start Alt + Maj + Flèche droite Select to Line End Maj + Pg Préc / Suiv Select Page Up/Down Ctrl + Maj + Debut Select to Start/End Ctrl + Maj + End Select to Start/End Maj + Alt + Flèche vers le haut / Flèche vers le bas Select to Start/End Ctrl + Retour Arrière Delete Word Left Tab (at beginning of line) Indent Maj + Tab Outdent Ctrl + U Yank line up to cursor Ctrl + K Yank line after cursor Ctrl + Y Insert currently yanked text Alt + - Insert assignment operator Ctrl + Maj + M Insert pipe operator F1 Show help for function at cursor F2 Show source code for function at cursor Ctrl + Alt + U Find usages for symbol at cursor (C++) Completions (Console and Source) -------------------------------- Tab Attempt completion Ctrl + Espace Attempt completion Flèche vers le haut / Flèche vers le bas Navigate candidates Entrée Accept selected candidate Tab Accept selected candidate Flèche droite Accept selected candidate Échap Dismiss completion popup Views ----- Ctrl + 1 Move focus to Source Editor Ctrl + 2 Move focus to Console Ctrl + 3 Move focus to Help Ctrl + 4 Show History Ctrl + 5 Show Files Ctrl + 6 Show Plots Ctrl + 7 Show Packages Ctrl + 8 Show Environment Ctrl + 9 Show Git/SVN Ctrl + 0 Show Build Ctrl + F8 Sync Editor & PDF Preview Alt + Maj + K Show Keyboard Shortcut Reference Build ----- Ctrl + Maj + B Build and Reload Ctrl + Maj + L Load All (devtools) Ctrl + Maj + T Test Package (Desktop) Ctrl + Alt + F7 Test Package (Web) Ctrl + Maj + E Check Package Ctrl + Maj + D Document Package Debug ----- Maj + F9 Toggle Breakpoint F10 Execute Next Line Maj + F4 Step Into Function Maj + F6 Finish Function/Loop Maj + F5 Continue Maj + F8 Stop Debugging Plots ----- Ctrl + Alt + F11 Previous plot Ctrl + Alt + F12 Next plot Git / SVN --------- Ctrl + Alt + D Diff active source document Ctrl + Alt + M Commit changes Ctrl + Flèche vers le haut/Flèche vers le bas Scroll diff view Espace Stage/Unstage (Git) Entrée Stage/Unstage and move to next (Git) Session ------- Ctrl + Q Quit Session (desktop only) Ctrl + Maj + F10 Restart R Session Dernière mise à jour (UTC): lundi 11 novembre 2019 Defkey © Tous les droits sont réservés.