Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
44 Cards in this Set
- Front
- Back
- 3rd side (hint)
vim (or vi ) |
Run vim and open the given filename
|
Basic Usage
|
|
:w |
save file
|
Basic Usage
|
|
:x or SHIFT ZZ |
Save and Exit
|
Basic Usage
|
|
:q |
Exit if no changes have been made
|
Basic Usage
|
|
:q! |
Exit and undo any changes made
|
Basic Usage
|
|
:set nu |
Display line numbers
|
Basic Usage
|
|
h |
Move left one character
|
Movement
|
|
j |
Move down one character
|
Movement
|
|
k |
Move up one character
|
Movement
|
|
l |
Move right one character
|
Movement
|
|
w |
move forward one word
|
Movement
|
|
b |
move to the start of the word
|
Movement
|
|
e |
move to the end of the word
|
Movement
|
|
( |
Move back one sentence
|
Movement
|
|
) |
Move forward one sentence
|
Movement
|
|
{ |
Move back one paragraph
|
Movement
|
|
} |
Move forward one paragraph
|
Movement
|
|
^ |
Move to the beginning of the line
|
Movement
|
|
$ |
Move to the end of the line
|
Movement
|
|
5G |
Move to the 5th line
|
Movement
|
|
G |
Move to the last line
|
Movement
|
|
gg |
Move to the firdt line
|
Movement
|
|
% |
Move to the matching bracket
|
Movement
|
|
x |
Delete a single character.
|
Deleting
|
|
D |
Delete the rest of the line.
|
Deleting
|
|
dd |
Delete the entire current line.
|
Deleting
|
|
5dw |
Delete the next 5 words.
|
Deleting
|
|
5dd |
Delete the next 5 lines. |
Deleting |
|
:1,5d |
Delete from line 1 through to line 5 |
Deleting |
|
i |
Enter insert mode at the cursor |
Entering Insert Mode
|
|
a |
Enter insert mode after the cursor
|
Entering Insert Mode
|
|
l |
Enter insert mode before the current line
|
Entering Insert Mode
|
|
A |
Enter insert mode after the current line
|
Entering Insert Mode
|
|
o |
Insert a new line after the current line
|
Entering Insert Mode
|
|
O |
Insert a new line before the current line
|
Entering Insert Mode
|
|
C |
Overwrite the whole current line
|
Entering Insert Mode
|
|
ESC |
Exit insert mode
|
Entering Insert Mode
|
|
/pattern |
Search for a pattern
|
Search and replace
|
|
n |
Find the next occurrence of pattern
|
Search and replace
|
|
:%s/pattern/replacing/g |
Replace every occurance of pattern with replace..
|
Search and replace
|
|
p |
Paste clipboard components
|
Cut and Paste
|
|
yy |
Yank(copy) a line
|
Cut and Paste
|
|
yw |
Yank a word
|
Cut and Paste
|
|
y$ |
Yank to the end of the line
|
Cut and Paste
|