title: Wrapping of selected string
body: <p>I'd like to create hot key for wrapping of selected line. Ideally it should work like in this example:</p>
  
  <ol>
  <li>Selection of string: ":include => [:profile => :user]"</li>
  <li>Pressing of F6 key</li>
  <li>Selected string should be modified to "lambda {{ :include => [:profile => [:user]] }}"</li>
  </ol>
  
  <p>I've implemented following solution:</p>
  
  <pre><code> nmap &lt;F6&gt; :%s/&lt;C-r&gt;+/lambda {{ &lt;C-r&gt;+ }}/gc
  </code></pre>
  
  <p>but it doesn't work, because selected line contains not escaped element "]" and "%s" cannot find line because of this. I use vim-gnome.
  What solutions can you advice?</p>