Edwin Miller wrote: > Hi, > > I have to edit tables with very long lines. > To keep the first column in focus while editing e.g. the last column it would > be great to use something like a "vertical" folding. > (Analogue to the horizontal foldings with "zf") > Is there such a feature in vim?
I would just vertically split the window (:vsplit) and set scrollbinding for both windows (:windo setlocal scrollbind), and make the left hand window wide enough to just show the column I'm interested in always seeing as a reference (CTRL-W <number> | -- i.e. the pipe/bar character) to do something like this. Then I could scroll the right hand window to the right but the left one would stay showing the left column, but both windows would scroll up and down together. You could extend the concept to have a number of vertical splits each showing a different part of the table. So that's not exactly what you asked for, but that's kinda how I'd deal with the situation. Cheers, Ben. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
