#compsci 

## Search patterns
1. Type the / key and then your search result
2. Press "n" to go forward or "N" to go backward in your search results
3. Type the ? key and then your search result to search the text file backwards

## Insert modes
i - insert text before the cursor
O - insert text on the previous line
o - insert text on the next line
a - append text after the cursor
A - append text at the end of the line

## Editing
v - enter Visual mode and select text
x - cut selected text OR delete a character
dd - delete the current line
y - copy whatever is selected
yy - copy the current line
p - paste the copied text before the cursor

## Saving & Unsaving
u - undo your last action
Ctrl-r redo your last action