Emacs: Make Buffer Flow Side-by-Side

By Xah Lee. Date: . Last updated: .

you can set emacs to display a file side-by-side, with left bottom continue to right top. When cursor moves to the bottom of left pane, it'll appear on the right top.

This is most useful if you have wide screen.

emacs follow-mode 2014-10-06
emacs follow-mode

Alt+x split-window-horizontally. Then, Alt+x follow-mode.

You can use mouse to scroll. It'll scroll both panes, but the mouse pointer must be on the pane the cursor is on.

To stop the text flowing behavior, Alt+x follow-mode again to toggle.

2011, Thanks to Zhang Tianjin for mentioning this tip.

Manage Windows Topic

  1. Split Windows
  2. Save Split Windows Configuration
  3. Effective Windows Management
  4. Make Buffer Flow Side-by-Side
  5. Restore Opened Files, Windows Config
  6. Set Default Window Size

If you have a question, put $5 at patreon and message me.
Or Buy Xah Emacs Tutorial
Or buy a nice keyboard: Best Keyboards for Emacs


Emacs Lisp