title: Faster way to use latex with vi
body: <p>I use VI to write my homework in latex, but I was wondering if there is a way to "store" commands in VI. I mean, instead of write every time I need:</p>
  
  <pre class="lang-latex prettyprint-override"><code>\begin{equation}
  \end{equation}
  </code></pre>
  
  <p>can I use a command or something like this to do it faster?</p>