title: Code folding is not saved in my vimrc
body: <p>I added the following code to my .vimrc:</p>
  
  <pre><code>" save and restore folds when a file is closed and re-opened
  autocmd BufWinLeave *.* mkview
  autocmd BufWinEnter *.* silent loadview 
  </code></pre>
  
  <p>HTML and CSS documents save and restore their folds but code folding is not being saved in my <strong>.vimrc</strong></p>
  
  <p>Any suggestions?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p><strong>The following code solves the problem:</strong></p>
  
  <pre><code>au BufWinLeave ?* mkview
  au BufWinEnter ?* silent loadview
  </code></pre>
  
  <p>but if I write it, the MRU files disappear from my list (and I have to open MRU twice in order to see my list of recent files why?)</p>