title: Weird behaviour with psearch (Vim)
body: <p>So this is a part of my <code>.vimrc</code></p>
  
  <pre><code>" Mapping
  nnoremap &lt;F3&gt; :cclose&lt;cr&gt;
  nnoremap &lt;F4&gt; :w &lt;bar&gt; !cd ../build; make&lt;cr&gt;&lt;cr&gt;:cw&lt;cr&gt;
  autocmd filetype cpp nnoremap &lt;F6&gt; :Termdebug %:r&lt;CR&gt;&lt;c-w&gt;2j&lt;c-w&gt;L
  nnoremap &lt;F12&gt; :!cd ..; !ctags -R 
  "nnoremap &lt;C-[&gt; :psearch &lt;C-R&gt;&lt;C-W&gt;&lt;CR&gt;
  nnoremap &lt;C-H&gt; &lt;C-W&gt;h
  nnoremap &lt;C-J&gt; &lt;C-W&gt;j
  nnoremap &lt;C-K&gt; &lt;C-W&gt;k
  nnoremap &lt;C-L&gt; &lt;C-W&gt;l
  inoremap &lt;C-H&gt; &lt;Left&gt;
  inoremap &lt;C-J&gt; &lt;Down&gt;
  inoremap &lt;C-K&gt; &lt;Up&gt;
  inoremap &lt;C-L&gt; &lt;Right&gt;
  nnoremap &lt;esc&gt;&lt;esc&gt; :silent! noh&lt;cr&gt;
  inoremap " ""&lt;left&gt;
  inoremap ' ''&lt;left&gt;
  inoremap ( ()&lt;left&gt;
  inoremap [ []&lt;left&gt;
  inoremap { {}&lt;left&gt;
  inoremap {&lt;CR&gt; {&lt;CR&gt;}&lt;ESC&gt;O
  inoremap {;&lt;CR&gt; {&lt;CR&gt;};&lt;ESC&gt;O
  </code></pre>
  
  <p>As you can see I have a line commented, which I think is giving me some problems.
  When that is not commented and I open vim this is what I got:</p>
  
  <p><img src="https://i.stack.imgur.com/enbHP.png" alt="screenshot"></p>
  
  <p>A preview windows of the actual file is opened and I get into replace mode, also there are more weird behaviour, for example if I am in insert mode and I press <code>&lt;Esc&gt;&lt;Esc&gt;</code> and press some arrow key vim insert a D or an U (as you can imagine depend on which key I press)</p>