We look at the pattern vim uses for its commands and we find out it is (number) verb (number) noun.
We look at a few examples of how to do things with a single line command like 2d3l (delete 2 times 3 characters). The different examples are to demonstrate the pattern Vim uses for most commands.
We then see that greater than sign is for indent, but we can't just press the greater than sign key by itself. Greater than sign, greater than sign, is used indent the current line, greater than sign2j is indent the current line and the next 2 lines. And 2greater than sign2j does not follow the standard Vim pattern.
We can repeat the indent 2 times by pressing . after indent, and then we see that . will repeat any single line command, and that is why the single line command is so important to understand.
See the complete Vim playlist at:
• Vim (01) - What is Vim?
See the complete Vim playlist in a single video at:
• Vim - Complete Vim Tutorial
Website link:
https://thefrugalcomputerguy.com/linu...
Sur cette page du site, vous pouvez voir la vidéo en ligne Vim (06) - Indent and Repeat durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur MichaelsTechTutorials 02 septembre 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 12,095 fois et il a aimé 282 téléspectateurs. Bon visionnage!