title: converting vim snippets in imap error
body: <p>I have some <code>snippets</code> in <code>vim</code>(Using <code>Ultisnips</code>) as:</p>
  
  <pre><code>snippet prg 
  !This is file : `!v expand('%:r')`
  ! Author= `!v expand($USER)`
  ! Started at: `date +%d.%m.%y`
  ! 
  Program  ${1:`!v expand('%:r')`}
  Implicit None
  ${2:&lt;++Start Typing++&gt;}
  End Program  $1
  endsnippet
  </code></pre>
  
  <p>I am trying to have the same effect with imap.
  I have tried to write the map as:</p>
  
  <pre><code>:inoremap `foo ! Program &lt;C-r&gt;=expand('%:r')&lt;CR&gt;&lt;CR&gt;! Author     :&lt;C-R&gt;=$USER &lt;CR&gt;&lt;CR&gt;! Date      :&lt;C-R&gt;=strftime("%c")&lt;CR&gt;&lt;CR&gt;Program  &lt;C-r&gt;=${1:expand('%:r')}Implicit None&lt;CR&gt;${2:&lt;++Start Typing++&gt;}End Program  $1
  </code></pre>
  
  <p>But <code>&lt;C-r&gt;</code> is unable to process the placeholders like <code>${1:expand('%:r')}</code> and not working as intended.
  What I am doing wrong here?</p>
  
  <p>Kindly help.</p>