如何在 Emacs 中将垂直分割设置为默认而不是水平分割?
My use case: I want to compare a Python file with an older revision of itself from the svn-repository, I do this with the C-x v ~ command. Unfortunately this always opens a second buffer while splitting the window horizontally. Vertically would be much better (at least for PEP-8 compliant files ;)).
查看问题的答案将 Emacs 拆分设置为水平 https://stackoverflow.com/questions/2081577/setting-emacs-split-to-horizontal并做相反的事情。
Taking offby1 https://stackoverflow.com/users/20146/offby1's answer https://stackoverflow.com/questions/2081577/setting-emacs-split-to-horizontal/2081978#2081978并将其反转给你:
(setq split-height-threshold 0)
(setq split-width-threshold nil)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)