Skip to content
Sign upLog in
← Back to Community

Helpful Keyboard Shortcuts

Profile icon
JordanDixon1

Helpful Keyboard Shortcuts!

This isn't necessarily for repl.it but for everything. (I will only do windows for now.)

On MacOS, replace Ctrl with Cmd.

  1. Delete the last word using backspace instead of just one letter.
    The way to do this is ctrl + backspace.
  2. Go to the beginning or ending of the last word or word in front of cursor.
    The way to do this is ctrl + left arrow or right arrow.
  3. Switch tabs (Chrome, might work on other browsers)
    The way to do this is ctrl + tab.
  4. switch windows (again chrome tested may work on other browsers.)
    the way to do this is ctrl + n
  5. switch between windows (same as before)
    The way to do this is alt + tab.
  6. close a tab (same as before)
    the way to do this is ctrl + w.
  7. close a window (same as before)
    The way to do this is ctrl + shift + w.
  8. Undo latest change (same as before.)
    the way to do this is ctrl + z
  9. redo latest undo. (same as before)
    the way to do this is ctrl + Y or ctrl + shift + z.
  10. open link in new tab (same as before)
    the way to do this is ctrl + clicking the link.
  11. open last closed tab (same as before)
    the way to do this is ctrl + shift + t.
  12. Zoom in or out (same as before)
    the way to do this is ctrl + using the scrolling feature on mice or mouse pads.

That was most of the shortcuts

Those were the ones I use most. here are some that are repl based:

Run repl

ctrl + enter

Open shell

ctrl + shift + s

open preferences

ctrl + ,

Open version control sidebar

ctrl + shift + g

open debugger

ctrl + shift + d

toggle command bar

ctrl + .

Open multiplayer mode

ctrl + shift + m

Open packages sidebar

ctrl + shift + L

Even More!

There can be some more shortcuts found here

Voters
Profile icon
DryEmil
Profile icon
a011068
Profile icon
Abdullahmaster1
Profile icon
LinusHagstrom
Profile icon
DanDan100
Profile icon
BenSottilare
Profile icon
Mingi
Profile icon
jamesabela
Profile icon
ChakibGames
Profile icon
AbhishekYadav83
Comments
hotnewtop
Profile icon
[deleted]

ctrl + / starts a one line comment in TypeScript. didnt test the rest of them

Profile icon
CodeLongAndPros

These are pretty standard, KDE has all.

In FF it’s M-\d

Profile icon
JordanDixon1

@CodeLongAndPros
I know that they're pretty standard its just that most people look over them and they can be really helpful cutting time of having the do something by half.

Profile icon
CodeLongAndPros

@JordanDixon1
It’s just that I don’t like anything being “Windows only” if it’s not.

Profile icon
JordanDixon1

@CodeLongAndPros
Ah. Alright I'll change that. I only put windows only cause that's the only os I know lol.

Profile icon
CodeLongAndPros

@JordanDixon1
You can also add a clause:

On MacOS, replace Ctrl with Cmd

Profile icon
CodeLongAndPros

@JordanDixon1
Also in Linux, there’s the MagicSysRQ key.

You hold Alt-PrintScr and press a key to send a command to the Kernel.

  • R - Set keyboard to raw mode
  • E - Send SIG15 to all processes > 1
  • I - Send SIG9 to all processes > 1
  • S - Sync discs
  • U - Unmount all disks as RO
  • B - Reboot
  • O - Poweroff
  • F - OOM killer
Profile icon
VardhanRawat1

Can Tab button be used to move the cursor forward or just a unit forward from any word ?

Profile icon
Bookie0

Cool

Profile icon
JordanDixon1

@Bookie0
Thanks. (Only one more cycle until your number becomes this year XD)

Profile icon
Bookie0

Lol thanks

@JordanDixon1