title: Editing multiple buffers in vim: "((1) of 3)" in status line
body: <p>When I switch between buffers in vim with ":bn" and ":bp", my status line shows the following handy information:</p>
  
  <pre><code>"foo.txt" 43 lines --88%-- ((1) of 3)                      38,1          All
  </code></pre>
  
  <p>(I think it's "set showmode" that enables that.)
  But that "(1)" is always literally "(1)" -- it doesn't change as I change buffers.  (The parens around the "1" are strange as well.)</p>
  
  <p>Does anyone know how to fix that?</p>
  
  <p>ADDED: It probably has to do with something nutty in my .vimrc, which is here:  <a href="http://yootles.com/outbox/.vimrc" rel="nofollow noreferrer">http://yootles.com/outbox/.vimrc</a></p>
  
  <hr>
  
  <p>Relatedly, here's a handy trick to make switching buffers really painless (entries in .vimrc):</p>
  
  <pre><code>"left/right arrows to switch buffers in normal mode
  map &lt;right&gt; :bn&lt;cr&gt;
  map &lt;left&gt; :bp&lt;cr&gt;
  </code></pre>
  
  <hr>
  
  <p>Keywords to improve searchability: vim, multiple buffers, switching between buffers, strange status line.  [Add others here if you were looking for answers to this question and didn't find this on your first attempt!]</p>