3 ms·
What I'd like: an editor with multiple tiled windows side by side, filling up a wide monitor, all showing the same text threaded through it. Line n at the botto
by DennisP 5y ago
What I'd like: an editor with multiple tiled windows side by side, filling up a wide monitor, all showing the same text threaded through it. Line n at the bottom of one puts line n+1 at the top of the window to the right of it. Scrolling in one window scrolls them all.
(Of course you could optionally split it up differently to see multiple files.)
- 0des 5y agoLike a newspaper?
- WithinReason 5y agoThis is exactly what I was thinking! Wonder how it works in practice.
- funkymike 5y agoYou 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
- DennisP 5y agoTried 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?
- npsimons 5y ago> What I'd like: an editor with multiple tiled windows side by side, filling up a wide monitor, all showing the same text threaded through it. Line n at the bottom of one puts line n+1 at the top of the window to the right of it. Scrolling in one window scrolls them all. > (Of course you could optionally split it up differently to see multiple files.) Now I want to go write some elisp . . . But for the moment, I'll let you know that C-x 3 will keep splitting an emacs "frame" (window) in half vertically until you hit something like 10 columns. Just need to write the elisp for the rest of your feature request.
- DennisP 5y agoHmm. That's a tempting little project actually.