- General shortcuts
Ctrl+Enter
– Run codeCtrl+S
– Save sessionCtrl + Shift + K
– Delete current lineCtrl + Shift + Enter
– Add line aboveCtrl + F
– SearchCtrl + H
– Search and ReplaceCtrl + P
– Open quick find commands
- Console Shortcuts
Enter
– Evaluate the entered commandShift+Enter
– Continue to the next lineTab
– IndentShift+Tab
– UnindentUp
– Previous history itemDown
– Next history itemCtrl+Up
– Move to the line above the cursorCtrl+Down
– Move to the line below the cursorCtrl+E
– Move to the end of the current lineCtrl+A
– Move to the start of the current lineCtrl+K
– Clears the consoleCtrl+Z
– Cancel current promptCtrl+L
– Open language selectorCtrl+G
– Open examples previewCtrl+H
– Open this help pageCtrl+S
– Save session (new revision)Escape
– Close current view
- More shortcuts
F1
– Show all commandsCtrl + .
– Workspace shortcuts
Repl.it Shell
How to Open a Shell in Repl.it
Repl.it shell tricks
- Autocomplete
- When you write
ruby some_
- Place Tab for autocomplete
- It will be autocompleted like
ruby some_file.rb
if the file exists of course
- When you write
- Getting older commands
- Use Arrow up and Arrow down to get older and newer commands that you have typed
- Stop the program
- While the program is running click
Ctrl+D
to stop the program
- While the program is running click
- Clear the shell
- Write
clear
as a command and press enter
- Write
Repl.it editor tricks
- Indent code selection
Tab
orCtrl+]
- Unindent code selection
Shift+Tab
orCtrl+[