================================ RStudio (Mac) raccourcis clavier ================================ Publié pour la première fois le 31/01/2019 sur https://defkey.com/fr/rstudio-mac-raccourcis-clavier RStudio (Mac) a 146 raccourcis et nous les avons énumérés ci-dessous. Console ------- Ctrl + 2 Move cursor to Console Ctrl + L Clear console Cmd + Flèche gauche Move cursor to beginning of line Cmd + Flèche droite Move cursor to end of line Flèche vers le haut / Flèche vers le bas Navigate command history Cmd + 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 Cmd + Maj + N New document (except on Chrome/Windows) Cmd + Maj + Alt + N New document (Chrome only) Cmd + O Open document Cmd + S Save active document Cmd + W Close active document (except on Chrome) Cmd + Option + W Close active document (Chrome only) Cmd + Maj + W Close all open documents Cmd + Maj + K Preview HTML (Markdown and HTML) Cmd + Maj + K Knit Document (knitr) Cmd + Maj + K Compile Notebook Cmd + Maj + K Compile PDF (TeX and Sweave) Cmd + Option + I Insert chunk (Sweave and Knitr) Cmd + Maj + R Insert code section Cmd + Entrée Run current line/selection Option + Entrée Run current line/selection (retain cursor position) Cmd + Maj + P Re-run previous region Cmd + Option + R Run current document Cmd + Option + B Run from document beginning to current line Cmd + Option + E Run from current line to document end Cmd + Option + F Run the current function definition Cmd + Option + T Run the current code section Cmd + Option + P Run previous Sweave/Rmd code Cmd + Option + C Run the current Sweave/Rmd chunk Cmd + Option + N Run the next Sweave/Rmd chunk Cmd + Maj + O Source a file Cmd + Maj + S Source the current document Cmd + Maj + Entrée Source the current document (with echo) Cmd + Option + L Fold Selected Cmd + Maj + Option + L Unfold Selected Cmd + Option + O Fold All Cmd + Maj + Option + O Unfold All Cmd + Maj + Option + G Go to line Cmd + Maj + Option + 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 Cmd + F9 Navigate back Cmd + F10 Navigate forward Cmd + Option + X Extract function from selection Cmd + Option + V Extract variable from selection Cmd + I Reindent lines Cmd + Maj + C Comment/uncomment current line/selection Cmd + Maj + / Reflow Comment Cmd + Maj + A Reformat Selection Cmd + Maj + Alt + P Show Diagnostics Ctrl + T Transpose Letters Option + Flèche vers le haut / Flèche vers le bas Move Lines Up/Down Cmd + Option + 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 Cmd + F Find and Replace Cmd + G Find Next Cmd + Maj + G Find Previous Cmd + E Use Selection for Find Cmd + Maj + J Replace and Find Cmd + Maj + F Find in Files F7 Check Spelling Editing (Console and Source) ---------------------------- Cmd + Z Undo Cmd + Maj + Z Redo Cmd + X Cut Cmd + C Copy Cmd + V Paste Cmd + A Select All Option + Flèche gauche / Flèche droite Jump to Word Cmd + Debut Jump to Start/End Cmd + End Jump to Start/End Cmd + Flèche vers le haut / Flèche vers le bas Jump to Start/End Cmd + D Delete Line Maj + Touches directionnelles Select Option + Maj + Flèche gauche / Flèche droite Select Word Cmd + Maj + Flèche gauche Select to Line Start Cmd + Maj + Flèche droite Select to Line End Maj + Pg Préc / Suiv Select Page Up/Down Cmd + Maj + Flèche vers le haut / Flèche vers le bas Select to Start/End Option + Retour Arrière Delete Word Left Ctrl + Option + Retour Arrière Delete Word Left Option + Suppr Delete Word Right Ctrl + K Delete to Line End Option + Retour Arrière Delete to Line Start 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 Option + - Insert assignment operator Cmd + Maj + M Insert pipe operator F1 Show help for function at cursor F2 Show source code for function at cursor Cmd + Option + U Find usages for symbol at cursor (C++) Completions (Console and Source) -------------------------------- Tab Attempt completion Cmd + 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 Cmd + F8 Sync Editor & PDF Preview Option + Maj + K Show Keyboard Shortcut Reference Build ----- Cmd + Maj + B Build and Reload Cmd + Maj + L Load All (devtools) Cmd + Maj + T Test Package (Desktop) Cmd + Alt + F7 Test Package (Web) Cmd + Maj + E Check Package Cmd + 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 ----- Cmd + Option + F11 Previous plot Cmd + Option + F12 Next plot Git / SVN --------- Ctrl + Option + D Diff active source document Ctrl + Option + 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 ------- Cmd + Q Quit Session (desktop only) Cmd + Maj + F10 Restart R Session Dernière mise à jour (UTC): lundi 11 novembre 2019 Defkey © Tous les droits sont réservés.