Emacs - 1 つのバッファに複数の列を配置する 質問する

Emacs - 1 つのバッファに複数の列を配置する 質問する

長くて薄いリストにフォーマットされる傾向があるアセンブリ コードを編集しようとしています。広大な水平スペースの一部を使用して、一度に画面上により多くのコードを表示できるようにしたいと考えています。Emacs (または別のエディター) で、すべて同じバッファーを指す複数の列を表示する方法はありますか?

Cx 3 (emacs) と :vsplit (vim) は、コードを複数の別々のビューで表示するのに最適ですが、私はコードを 1 つの列から別の列に流したいのです (新聞のテキストのように)。

ベストアンサー1

見るフォローモード抜粋:

Follow mode is a minor mode that makes two windows, both showing the same buffer, scroll as a single tall “virtual window.” To use Follow mode, go to a frame with just one window, split it into two side-by-side windows using C-x 3, and then type M-x follow-mode. From then on, you can edit the buffer in either of the two windows, or scroll either one; the other window follows it. In Follow mode, if you move point outside the portion visible in one window and into the portion visible in the other window, that selects the other window—again, treating the two as if they were parts of one large window.

おすすめ記事