Vim (06) - Indent and Repeat

Published: 02 September 2017
on channel: MichaelsTechTutorials
12,095
282

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...


On this page of the site you can watch the video online Vim (06) - Indent and Repeat with a duration of hours minute second in good quality, which was uploaded by the user MichaelsTechTutorials 02 September 2017, share the link with friends and acquaintances, this video has already been watched 12,095 times on youtube and it was liked by 282 viewers. Enjoy your viewing!