title: Persistent (sticky) first line or column in VIM
body: <p>This may be a stretch, but is there a chance to script a <code>vim</code> command such that the first (any?) row is constantly displayed at the top? The first (any) column (defined by a unique delimiter) be constantly displayed in the left?</p>
  
  <p>The best I can manage is to split the screen and maximize the bottom one, so something like</p>
  
  <pre><code>split %
  wincmd w
  wincmd _
  </code></pre>
  
  <p>would be good for an upper row, but of course if the row is wider than the screen it doesn't work that well - unless there is a way to start a mode where two windows have their columns aligned.</p>
  
  <p>For a persistent column I'm less sure. Need to somehow get the column of first delimiter (<code>f</code> command I thought, but I couldn't get it to work), <code>vsplit %</code> and <code>vertical resize</code>, then switch, <code>wincmd l</code>. Again this will only work if there are less rows then entire screen. </p>
  
  <p>Doing both is even trickier, but possible using the above. I would also split the title row to make an empty cell at the corner. As far as synchronization, the title has to keep the row but sync on column, and vice-versa for the persistent column.</p>
  
  <p>Is there a way to create such a persistent row+column setup that is synchronized with the main window? Also getting rid of the file names would be useful in this setup.</p>