在emacs中最大化/恢复窗口 [英] Maximizing / restoring a window in emacs

查看:141
本文介绍了在emacs中最大化/恢复窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,也许这是超级用户网站的一个问题,但是我认为在stackoverflow上会有更多的emacs用户。

Ok, so maybe this is more a question for the superuser site but I figured there'd be a hell of a lot more emacs users on stackoverflow.

我经常把我的emacs分成大约4个窗口,所以我可以同时看一堆缓冲区..但是我想要能够Cx 1(使窗口与emacs相同的大小),然后以某种方式恢复回到我漂亮的4窗口布局我只是看着。

Basically I often have my emacs split into about 4 windows so I can look at a bunch of buffers at the same time.. however I'd like to be able to C-x 1 (make the window the same size as emacs) and then somehow restore back to my nice 4 window layout I was just looking at.

有没有一个简单的方法来做到这一点,或者我需要一些elisp / lisp(注意:不知道任何一个elisp。)

Is there an easy way to do this or do I need some elisp / lisp (note: I don't know ANY elisp.)

谢谢!
John。

Thanks! John.

推荐答案

尝试获胜者模式

启用优胜者模式,您可以使用 Cc < left>

With winner-mode enabled, you can restore your previous window configuration with C-c<left>.

您可以反复键入以退回窗口配置历史记录,因此即使

You can type it repeatedly to step back through the window configuration history, so you're safe even when there have been multiple intervening changes.

Cc < right> 将您(直接)返回给最近的配置。

C-c<right> returns you (directly) to the most recent configuration.

这篇关于在emacs中最大化/恢复窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆