Keyboard shortcut
Efficiently run code blocks:
Ctrl + Enter / Cmd + EnterCtrl + Shift + Enter / Cmd + Shift + EnterUp Arrow (Works when your cursor is in the Console or Terminal to cycle backward through your command history).Ctrl + Shift + F10 / Cmd + Shift + F10 (Highly recommended for clearing the environment and ensuring script reproducibility).When managing course syllabi, RevealJS presentations, or web pages, these shortcuts make editing Markdown and Quarto files seamless.
Ctrl + Alt + I / Cmd + Option + ICtrl + Shift + Enter / Cmd + Shift + Enter (while cursor is inside a chunk)Ctrl + Alt + P / Cmd + Option + PCtrl + Shift + K / Cmd + Shift + K (Compiles the active Quarto .qmd or RMarkdown .Rmd file).Shift + Arrow Keys (Expands or toggles your text selection character-by-character or line-by-line).Ctrl + Shift + Arrow Keys / Option + Shift + Arrow KeysCtrl + Shift + C / Cmd + Shift + CCtrl + Shift + A / Cmd + Shift + ACtrl + F / Cmd + FAlt and drag the mouse, or use Ctrl + Alt + Up/Down (Cmd + Option + Up/Down on Mac)