title: Using Vim, how do I 'set statusline' to align right?
body: <p>My <code>~/.vimrc</code> uses the following statusline setting</p>
  
  <pre><code>set statusline=%F%m%r%h%w\ %{&amp;ff}\ %Y\ [0x\%02.2B]\ %l/%L,%v\ %p%%
  </code></pre>
  
  <p>Everything is left aligned. <code>help 'statusline'</code> says that the <code>-</code> character is used to "Left justify the item.  The default is right justified when minwid is larger than the length of the item."</p>
  
  <p>However, I haven't been able to use (or not use) <code>-</code> to ever align things to the right.</p>
  
  <p>What is an example of having one group of items left aligned and one group right aligned?</p>
  
  <p>I've also tried to use <code>=</code> but it just prints the <code>=</code> sign.</p>