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...
Auf dieser Seite können Sie das Online-Video Vim (06) - Indent and Repeat mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer MichaelsTechTutorials 02 September 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 12,095 Mal angesehen und es wurde von 282 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!