调整大小分割窗口

调整大小分割窗口

本文介绍了emacs nw模式,调整大小分割窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我感兴趣的是,当我处于控制台模式时,如何在emacs中调整分割窗口大小? 我打开了我的文件: emacs myfilename.txt -nw 现在,当我分开窗口时: Cx 2 pre> 或 Cx 3 如何调整新窗口大小?解决方案> 尝试和。 您可以指定使用前缀参数放大或缩小的行数,例如放大窗口六行,键入: 默认情况下, enlarge-window 绑定到。默认情况下, shrink-window 不会绑定到任何快捷方式,但您可以使用带有的负前缀参数来收缩。 所以您可以通过键入以下方式获得与上述相同的效果: (收缩) 一个特殊情况是水平拆分,您可以使用其他键盘快捷键来修饰或缩小窗口: 绑定到放大窗口水平 绑定到收缩窗口水平 再次,您可以使用前缀参数,用于指定使用 I'm interested how can I resize split windows in emacs when I'm in console mode?I opened my file with:emacs myfilename.txt -nwnow when I split my window with:C-x 2orC-x 3how can I resize new windows? 解决方案 Try and .You can specify the number of lines by which to enlarge or shrink with the prefix argument, e.g. to enlarge a window by six lines, type:By default enlarge-window is bound to . shrink-window is not bound to any shortcut by default, but you can use a negative prefix argument with to get shrinkage.So you could get the same effect as above by typing: (enlarge) (shrink)A special case is the horizontal split where you have additional keyboard shortcuts available for embiggening or shrinking the windows: is bound to enlarge-window-horizontally is bound to shrink-window-horizontallyAgain, you can use prefix arguments to specify the amount (i.e., number of columns) you want to enlarge/shrink the windows with 这篇关于emacs nw模式,调整大小分割窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-15 11:45