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;
56 Cards in this Set
- Front
- Back
quit |
:q |
|
force quit |
:q! |
|
enter insert mode |
i |
|
save |
:w |
|
right one character |
l or right arrow |
|
left one character |
h or left arrow |
|
down one line |
j or down arrow |
|
up one line |
k or up arrow |
|
move to the beginning of the current line |
0 |
|
move to the first non-whitespace on the current line |
^ |
|
move to the end of the current line |
$ |
|
move to the next word |
w |
|
move to the next word, ignoring punctuation |
W (shift-w) |
|
move to the previous word |
b |
|
move to the previous word, ignoring punctuation |
B (shift-b) |
|
move down one page |
ctrl-f or page down |
|
move up one page |
ctrl-b or page up |
|
go to the line number |
number-shift-g number-G |
|
move to the last line of the file |
shift-g (G) |
|
undo |
u |
|
append text |
a |
|
insert line below current |
o |
|
insert line above current |
O (shift-o) |
|
delete current character |
x |
|
delete N characters |
Nx |
|
delete current line |
dd |
|
delete N lines |
Ndd |
|
delete to the next word |
dW |
|
delete to the end of the line |
d$ |
|
deleted to the beginning of the line |
d0 |
|
delete to the first non-whitespace character |
d^ |
|
delete to the end of the file |
dG |
|
delete to the Nth line of the file |
dNG |
|
paste after cursor |
p |
|
paste before cursor |
P (shift-p) |
|
yank the current line |
yy |
|
yank N lines |
Nyy |
|
yank to the beginning of the word |
yW |
|
yank to the end of the line |
y$ |
|
yank to the beginning of the line |
y0 |
|
yank to the first non-whitespace character |
y^ |
|
yank to the end of the file |
yG (shift-g) |
|
yank to the Nth line of the file |
yNG (shift-g) |
|
join lines |
J (shift-j) |
|
search for a character C within a line |
fC |
|
search forward |
/text |
|
search again |
n |
|
search and replace |
%s/find/replace/g |
|
search and replace with confirmation |
%s/find/replace/gc |
|
switch to the next file |
:n |
|
switch to the previous file |
:N |
|
view list of files |
:buffers |
|
switch to another file |
:buffer N |
|
edit another file |
:e <file name> |
|
insert file content |
:r <file name> |
|
save as |
:w <file name> |