title: How to insert tabs on new line in Vim before a character is typed
body: <p>If I write an if statement in my C program, press enter three times, then write a comment, the below is my output. Notice the two lines between the condition and the comment are completely empty.</p>
  
  <pre><code>if(my_condition) {
  
  
  &lt;Tab&gt;// My comment here
  </code></pre>
  
  <p>My issue is that Vim does not insert any tab character(s) between the beginning of the line and the cursor position <i>until a character is typed</i>. This is very annoying for me, because I like to move my cursor up and down the block of code often. Since there isn't a real tab on the two lines, if I moved up one line my cursor would go to the beginning of the line, instead of staying on the same column. I come from Sublime Text and other editors where this has never been a problem.</p>
  
  <p>Is there a plugin or setting such that I can accomplish the following?</p>
  
  <pre><code>if(my_condition) {
  &lt;Tab&gt;
  &lt;Tab&gt;
  &lt;Tab&gt;// My comment here
  </code></pre>
  
  <p>All help is appreciated. I've looked into using Visual mode, but have had undesirable side effects of enabling it all the time. Certainly there is a simple way to automatically add the tabs when I make a new line?</p>