Comment

Comment by funkymike

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
parent funkymike 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton