top | item 29421546

(no title)

funkymike | 4 years ago

You can do this in vim with the scrollbind option. You could create a simple script to set up the windows and get the views lined up to the correct line numbers. The one caveat is that enabling line wrapping will screw it up.

    :windo set nowrap
    :vsp
    ctrl-w ctrl-w ctrl-d ctrl-d
    :vsp
    ctrl-w ctrl-w ctrl-d ctrl-d
    :windo set scrollbind

discuss

order

DennisP|4 years ago

Tried that but don't see a way to make the windows show different parts of the document. How does that happen?

And if I were to insert or delete lines in the first panel, would the others change their starting rows to account for that?