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: