title: Vim-LaTeX - How to auto close brackets and how to compile using vim-commands
body: <p>I would like to know how to close brackets like (), {} and [] by only typing (, { or [ once when using Vim-LaTeX. I would also like to know how to do it in a way so that my cursor ends inside a bracket after vim closes the bracket. As of now I try to write the following in my .vimrc-file, but it does not work in .tex-files:</p>
  
  <pre><code>inoremap { {}&lt;Left&gt;
  inoremap {{ {
  inoremap {} {}&lt;Left&gt;
  
  inoremap ( ()&lt;Left&gt;
  inoremap (( (
  inoremap () ()&lt;Left&gt;
  
  inoremap [ []&lt;Left&gt;
  inoremap [[ [
  inoremap [] []&lt;Left&gt;
  </code></pre>
  
  <p>Is there anyone who knows how to solve this?
  Another question: Right now I compile LaTeX-files in Vim-LaTeX by pressing \ll but is there a way to do it using a vim-command? Like</p>
  
  <pre><code>:CompileSomething
  </code></pre>