title: Vim inoremap for specific filetypes
body: <p>I've added some simple <code>inoremap</code> commands to my <code>.vimrc</code> to help with parens and brackets completion, but I only want them to apply to php files.</p>
  
  <pre><code> inoremap ( ()&lt;Esc&gt;i
   inoremap { {&lt;CR&gt;}&lt;Esc&gt;ko
   inoremap &lt;? &lt;?php ?&gt;&lt;Esc&gt;&lt;Left&gt;i
  </code></pre>
  
  <p>How to I set these commands to be active only when I'm editing a .php file?</p>