X and x---------------------------------------x means to remove one character backwards, and X to delete one character forward
NX-----------------------------------------Remove n characters backwards
DD-----------------------------------------Delete/cut the row where the cursor is located
NDD---------------------------------------Delete/cut n rows after the row where the cursor is located
YY----------------------------------------The copy cursor is in the row
P-----------------------------------------Paste what has been copied or pasted down from the line where the cursor is located
P-----------------------------------------Paste what has been copied or pasted up from the line where the cursor is located
Nyy---------------------------------------start from the line where the cursor is, and copy the n rows down
U-----------------------------------------restore previous action
V-----------------------------------------move the cursor after pressing V to select the specified character, then you can copy, paste and so on.