The editor we will be using in class is called Visual Studio Code, though most people who use it call it by its nickname "vscode" (pronounced "vee ess code"). When you want to run vscode, you run the program called code.

There are lots of options and keyboard shortcuts in vscode. You don’t need to learn them all, but the ones below will help you be more efficient. The vscode website provides a reference guide for the shortcut keys in Linux.

vscode keyboard shortcuts

moving

keys result

PageUp

move up a page

PageDown

move down a page

Ctrl+g

enter line number, move to that line

Home

move to beginning of line

End

move to end of line

Ctrl+RightArrow

move right one word

Ctrl+LeftArrow

move left one word

copy/paste/delete

keys result

Ctrl+c

copy

Ctrl+x

cut

Ctrl+v

paste

Tab

indent the line when the cursor is at the start of the line

Shift+Tab

unindent the line when the cursor is at the start of the line

Ctrl+]

indent line regardless of where the cursor is

Ctrl+[

unindent line regardless of where the cursor is

Shift+ arrow keys

select a region of code

Ctrl+l

select line (repeat to select multiple lines)

save/quit/undo

keys result

Ctrl+z

undo

Ctrl+Shift+z

redo

Ctrl+o

open file

Ctrl+n

new file

Ctrl+s

save

Ctrl+q

quit

miscellaneous

keys result

Ctrl+=

(control + equals sign) increase font size

Ctrl+-

(control + minus sign) decrease font size

Ctrl+PageUp/Ctrl+PageDown

go to next/previous Tab

F11

toggle full screen

Ctrl+Shift+`

(control+shift+back tick) open terminal