title: Insert comments automatically in Vim
body: <p>My SAS code requires this style of comment:</p>
  
  <pre><code>/*
  * This is the comment
  */
  </code></pre>
  
  <p>I've been able to type this command (From the <a href="http://www.faqs.org/docs/Linux-HOWTO/C-editing-with-VIM-HOWTO.html#AEN274" rel="noreferrer">Vim Comment Howto</a>):</p>
  
  <pre><code>:set comments=sl:/*,mb:*,elx:*/
  </code></pre>
  
  <p>The problem is that once I type this <code>set</code> command I don't know how to actually get those comments to add to the code. The instructions say to type <code>/\*&lt;enter&gt;</code> but in insert mode this just acts normally, and in command mode this does a find on <code>*</code>.</p>
  
  <p>How do I get this to work, and are there better ways than this to automatically insert comment marks?</p>