3 ms·
Emacs already has exactly this built in with follow-mode. http://www.gnu.org/software/emacs/manual/html_node/emacs/Follow-Mode.html http://www.gnu.org/software
by jlarocco 12y ago
Emacs already has exactly this built in with follow-mode.
http://www.gnu.org/software/emacs/manual/html_node/emacs/Follow-Mode.html http://www.gnu.org/software/emacs/manual/html_node/emacs/Fol...
- verandaguy 12y agoSame with (Neo)Vi(m)
- masklinn 12y agoAre you sure it's equivalent to follow-mode, not just vertical splits? Follow-mode emulates the file wrapping to the next column when it reaches the end of a buffer, and if the cursor moves across the top/bottom boundary it'll appear on the other buffer instead of scrolling the current buffer. And the buffers are synchronised as a single "page". edit: apparently you can do that with scrollbind.