About Me

My photo

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/B d-- s:++>: a-- C++(++++) UL++ P! L++ E--- W+++ N+++ w PS+ PE- !tv
b+++ G++ e++ h
------END GEEK CODE BLOCK------

Saturday, March 12, 2005

How to print * continuously in vim

/***********************************************/
   These kind of lines might be required while commenting
/***********************************************/
 
The Command to use is simple appending the text.
[count]append[char]
 
- Press Esc to make sure you are in command mode.
- Press count. For eg: 10
- Press a. Mode changes to insert.
- Press the character to repeat. here it is *. one * will be inserted
- Press Esc. You will see the command take effect.
 
      **********
 
 

No comments: