One, the control desk
Features Windows & Linux Mac
- Move mouse to console ctrl+2 ctrl+2
- Move to mouse command edit ctrl+1 ctrl+1
- Console Clear Screen Ctrl+l command+l
- Move the mouse to the first line Home Command+left
- Move the mouse to the last line end Command+right
- Historical record Tumbling Up/down Up/down
- Pop-up History bar Ctrl+up Command+up
- Terminate current command ESC ESC
- Change the working path Ctrl+shift+k ctrl+shift+k
Second, code area
Features Windows & Linux Mac
- Move the mouse to the file search area Ctrl +. CTRL +.
- Move mouse to file editing area ctrl+1 ctrl+1
- New documents (except Chrome) Ctrl+shift+n Command+shift+n
- Open Document Ctrl+o Command+o
- Save current document Ctrl+s Command+s
- Close the current document (except Chrome) Ctrl+w Command+w
- Close the current document (Chrome) Ctrl+shift+z command+shift+z
- Close all documents Ctrl+shift+w command+shift+w
- Preview HTML Ctrl+shift+y command+shift+y
- Convert to HTML ctrl+shift+h command+shift+h
- Compiling PDF (TeX and Sweave) ctrl+shift+i Command+shift+i
- Insert Block Ctrl+alt+i command+option+i
- Inserting code blocks ctrl+shift+r command+shift+r
- Run the current line Ctrl+enter Command+enter
- Re-run the current zone ctrl+shift+p command+shift+p
- Run the current document Ctrl+alt+r Command+option+r
- Run from start to current line ctrl+alt+b Command+option+b
- Run from current line to end Ctrl+alt+e Command+option+e
- Runs the current function definition ctrl+alt+f command+option+f
- Run Current block Ctrl+alt+c Command+option+c
- Run the next block Ctrl+alt+n command+option+n
- Executes a file Ctrl+shift+o Command+shift+o
- Executes the current document Ctrl+shift+s Command+shift+s
- Executes the current document and displays Ctrl+shift+enter Command+shift+enter
- Folding Options Alt+l Command+option+l
- Open Options Shift+alt+l command+shift+option+l
- Collapse All alt+0 command+option+0
- Open All shift+alt+0 command+shift+option+0
- Go to row shift+alt+g command+shift+option+g
- Jump to Shift+alt+j Command+shift+option+j
- Change page Ctrl+alt+down Ctrl+option+down
- Previous page win:ctrl+alt+left, Linux:ctrl+pageup ctrl+option+left
- Next Win:ctrl+alt+right, Linux:ctrl+pagedown ctrl+option+right
- First page Ctrl+shift+alt+left Ctrl+shift+option+left
- Last page Ctrl+shift+alt+right Ctrl+shift+option+right
- Navigate Back Ctrl+f9 Command+f9
- Navigate Forward Ctrl+f10 COMMAND+F10
- Line Indent Ctrl+i command+i
- Extracting a function from the selection ctrl+shift+u Command+shift+u
- Comment/Uncomment current line Ctrl+shift+c Command+shift+c
- Re-annotate ctrl+shift+/command+shift+/
- Transpose Letters Ctrl+t
- Move Lines Up/down Alt+up/down Option+up/down
- Copy Lines Up/down Ctrl+alt+up/down Command+option+up/down
- Jump to Matching Brace/paren ctrl+p ctrl+p
- Find and Replace ctrl+f command+f
- Find Next win:f3, Linux:ctrl+g command+g
- Find Previous win:shift+f3, Linux:ctrl+shift+g command+shift+g
- Replace and Find ctrl+= command+=
- Find in Files ctrl+shift+f command+shift+f
- Check Spelling F7 F7
Iii. Editing (Console and Source)
Description Windows & Linux Mac
- Undo Ctrl + Z command+z
- Redo ctrl+shift+z Command+shift+z
- Cut ctrl+x command+x
- Copy Ctrl + C COMMAND+C
- Paste Ctrl + V Command+v
- Select All Ctrl + A Command+a
- Jump to Word ctrl+left/right option+left/right
- Jump to Start/end ctrl+home/end or Ctrl+up/down command+home/end or Command+up/down
- Delete Line Ctrl+d Command+d
- Select Shift+[arrow] Shift+[arrow]
- Select Word ctrl+shift+left/right Option+shift+left/right
- Select to line Start shift+home Command+shift+left or Shift+home
- Select to line End shift+end command+shift+right or Shift+end
- Select Page Up/down Shift+pageup/pagedown Shift+pageup/down
- Select to Start/end ctrl+shift+home/end or Shift+alt+up/down Command+shift+up/down
- Delete Word left Ctrl+backspace option+backspace or Ctrl+option+backspace
- Delete Word Right Option+delete
- Delete To Line End ctrl+k
- Delete To Line Start Option+backspace
- Indent tab (at beginning of line) tab (at beginning of line)
- Outdent Shift+tab Shift+tab
- Yank line up to Cursor Ctrl+u ctrl+u
- Yank line after cursor ctrl+k ctrl+k
- Insert currently yanked text Ctrl+y Ctrl+y
- Insert assignment operator alt+-option+-
- Show Help for function at cursor F1 F1
- Show source code for function at cursor F2 F2
- Completions (Console and Source)
- Description Windows & Linux Mac
- Attempt completion tab or Ctrl+space tab or Command+space
- Navigate candidates Up/down Up/down
- Accept selected candidate Enter, tab, or right-enter, tab, or right
- Dismiss Completion Popup ESC ESC
Iv. views
Description Windows & Linux Mac
- Goto File/function Ctrl +. CTRL +.
- Move cursor to Source Editor ctrl+1 ctrl+1
- Move cursor to Console ctrl+2 ctrl+2
- Move focus to help ctrl+3 ctrl+3
- Show History ctrl+4 Ctrl+4
- Show Files ctrl+5 ctrl+5
- Show plots ctrl+6 ctrl+6
- Show Packages ctrl+7 ctrl+7
- Show Workspace ctrl+8 ctrl+8
- Show GIT/SVN ctrl+9 ctrl+9
- Show Build ctrl+0 ctrl+0
- Sync Editor and PDF Preview ctrl+f8 Command+f8
Five, Build
Description Windows & Linux Mac
- Build and Reload ctrl+shift+b command+shift+b
- Load All (devtools) ctrl+shift+l command+shift+l
- Check Package Ctrl+shift+e Command+shift+e
Liu, plots
Description Windows & Linux Mac
- Previous plot Ctrl+shift+pageup Command+shift+pageup
- Next plot Ctrl+shift+pagedown Command+shift+pagedown
- Show Manipulator Ctrl+shift+m Command+shift+m
Seven, GIT/SVN
Description Windows & Linux Mac
- Diff Active source Document Ctrl+shift+d Command+shift+d
- Commit Changes Ctrl+shift+m command+shift+m
- Scroll diff View Ctrl+up/down Ctrl+up/down
- Stage/unstage (Git) Spacebar Spacebar
- Stage/unstage and Move next (Git) Enter enter
R language Shortcut keys