14.06.2014 Views

vim 101 hacks

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Buyer: xiujuan lu (luxiujuan@gmail.com)<br />

Transaction ID: 85W16630AD8515549<br />

Vim <strong>101</strong> Hacks<br />

www.thegeekstuff.com<br />

Fig: Vim Macro completed the recording<br />

9. Repeat the Macro with the arguments in the corresponding line<br />

8 @ a<br />

• Now repeat this job 8 times by typing 8@a<br />

• @a repeats the macro “a” one time.<br />

• 8@a repeats the macros “a” 8 times completing the rest of the line<br />

automatically as shown below<br />

Fig: Vim Macro Play completed<br />

73

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!