【发布时间】:2011-07-14 17:35:14
【问题描述】:
有时我会从命令行启动带有 2 个文件的 emacs,如下所示:
emacs foo.txt bar.txt
这会打开emacs窗口,垂直分割:
foo.txt
-------
bar.txt
如何编辑我的 .emacs 文件,以便它们像这样并排显示?:
|
foo.txt | bar.txt
|
编辑:澄清一下,我知道如何在 emacs 启动后实现这一点(Mx 0,Mx 3,然后重新访问右侧的 bar.txt窗户)。我只是希望 emacs 在我启动时默认并排拆分,所以我不必这样做。
【问题讨论】:
-
我刚刚问了一个非常相似的问题并得到了答案:stackoverflow.com/questions/6683039/…Enjoy.