Shortcut | Action |
---|---|
↑ or ↓ |
scrolls through previous entered commands |
ctrl + c |
clears a line or cancel a process |
ctrl + a |
moves your cursor to the beginning of a line. |
ctrl + e |
moves it to the end of the line. |
ctrl + f |
moves the cursor forward |
ctrl + b |
moves the cursor back |
ctrl + w |
deletes the previous word |
ctrl + h |
deletes the one character at a time |
ctrl + k |
deletes to the end of the line |
tab |
cycles through auto completion |
Shortcut | Action |
---|---|
cmd + k , cmd + b |
Toggles the sidebar |
cmd + p |
Go to a file |
cmd + shift + p |
command palette |
cmd + l |
selects a whole line |
cmd + / |
toggles a comment |
Shortcut | Action |
---|---|
option + cmd+ ← |
Left half of screen |
option + cmd+ → |
Right half of screen |
option + cmd+ ↑ |
Top half of screen |
option + cmd+ ↓ |
Bottom half of screen |