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 2022-06-02 DcCFy
emacs follow mode 2022-06-02
emacs follow mode 2022-06-02
emacs follow mode 2022-06-02
  1. Alt+x split-window-horizontally
  2. Alt+x follow-mode

You can use mouse to scroll. It'll scroll both panes.

Alt+x follow-mode again to toggle off.

2011, Thanks to Zhang Tianjin for mentioning this tip.

ErgoEmacs mascot-s276x226
Buy Xah Emacs Tutorial

Emacs Tutorial

Quick Start

Manage Windows

File

Buffer

Find Replace

Copy/Paste

Unicode

Whitespace

Rectangle Edit

Line Wrap

Shell

View Special File

Editing Brackets

Org Mode

HTML

Emacs Efficiency

Misc