Since I forget to operate VIM immediately, I narrowed down the main points and created videos for each level. You can see it in one piece, so if it is for those who forget it or want to remember it from now on. .. I make it so that I can see it during commuting time and before going to bed.
Click here for the video (click the image to go to youtube) [](http://www.youtube.com/watch? x6lMGjXjzyI)
What you can remember in the video
vi sample.txt → open vim
i → Change to edit mode
Arrow key → move
delete key → delete
esc → Exit edit mode
:wq → Save and close
:q → Close without saving
q → Stop
wq!,q!→ Forced if you are surprised.
Click here for the video (click the image to go to youtube) [](http://www.youtube.com pcjGaC0JNDQ)
What you can remember in the video
/→ Search(Next with n. Forward with N)
gg → first line
G → Last line
ctrl-f → 1 page later
ctrl-b → Move one page forward
h → left
j → below
k → above
l → right
H → Place the cursor on the screen
M → Move the cursor to the center of the screen
L → Move the cursor to the bottom of the screen
u → Undo
ctrl+r → Redou
Delete entire line with dd
yy → line copy
p → paste
dd → line cut
Click here for the video (click the image to go to youtube) com / watch? v = Epw3P8yAlkg)
What you can remember in the video
0 → Move to the beginning of the line
$→ Move to the end of the line
r → Replace only one character.
w → move to the next word
b → move to the previous word
e → move to the end of the word
ge → move to the end of the previous word
V +cursor+d → Delete multiple lines
I will not make it because it is difficult. w
Recommended Posts