Skip to the content
- General shortcuts
Ctrl+Enter – Run code
Ctrl+S – Save session
Ctrl + Shift + K – Delete current line
Ctrl + Shift + Enter – Add line above
Ctrl + F – Search
Ctrl + H – Search and Replace
Ctrl + P – Open quick find commands
- Console Shortcuts
Enter – Evaluate the entered command
Shift+Enter – Continue to the next line
Tab – Indent
Shift+Tab – Unindent
Up – Previous history item
Down – Next history item
Ctrl+Up – Move to the line above the cursor
Ctrl+Down – Move to the line below the cursor
Ctrl+E – Move to the end of the current line
Ctrl+A – Move to the start of the current line
Ctrl+K – Clears the console
Ctrl+Z – Cancel current prompt
Ctrl+L – Open language selector
Ctrl+G – Open examples preview
Ctrl+H – Open this help page
Ctrl+S – Save session (new revision)
Escape – Close current view
- More shortcuts
F1 – Show all commands
Ctrl + . – Workspace shortcuts
Repl.it Shell
How to Open a Shell in Repl.it
- Press F1
- Search for “Open Shell”
- This will open the shell window
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
- 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
- Clear the shell
- Write
clear as a command and press enter
Repl.it editor tricks
- Indent code selection
- Unindent code selection