title: Vim, edit file on quit (delete numbered marks; make :marks easier to use as a bookmark menu)
body: <p>In the pursuit of leveraging default functionality in Vim (i.e., less plugins), I am trying to use global marks as a way to jump quickly to my favorite files. </p>
  
  <p>I do this with my "menu" a la</p>
  
  <pre><code>nnoremap &lt;leader&gt;l :marks&lt;CR&gt;:norm! `
  nnoremap &lt;leader&gt;Lm :marks&lt;CR&gt;:mark&lt;Space&gt;
  nnoremap &lt;leader&gt;Ld :marks&lt;CR&gt;:delmarks&lt;Space&gt;
  </code></pre>
  
  <p>The numbered marks make this 10 times harder to skim visually. Alas, it seems there is no option to remove. I have skimmed <code>:help mark-motions</code>, <code>:help viminfo-f</code> and considered section <code># File marks:</code> at <code>~/.viminfo</code>. It seems I cannot remove the functionality of <code>[0-9]</code> marks without removing that of <code>[A-Z]</code> marks. </p>
  
  <p>If I just delete the numbered marks, I will only have to see the <code>'0</code> mark in my "menu". Am I missing some awesome reason to keep the numbered marks around? Is a vimscript to delete the numbered marks on quit or start a bad idea? Is there a safer way to get Vim to not write these to the viminfo file? </p>
  
  <p>Not that this is Emacs, but is there a way to see how the existing <code>:marks</code> command works? Or is there something like Emacs' advice to modify how <code>:marks</code> will behave? </p>
  
  <p>(Idea: make a command that when <code>&lt;leader&gt;Lr</code> is typed, the numbered marks are removed, so that it is "safer".) </p>