在Emacs中,其他窗口(C-x o)的相反功能是什么? [英] In Emacs, what is the opposite function of other-window (C-x o)?

查看:119
本文介绍了在Emacs中,其他窗口(C-x o)的相反功能是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

Emacs,切换到上一个窗口

其他窗口使我进入当前框架中的下一个窗口,但是我也想要一个返回上一个窗口的方法。

other-window advances me to the next window in the current frame, but I also want a way to move back to the previous window.

Emacs具有 next-buffer previous-buffer ,但没有类似的用于窗口导航的交互功能。只需其他窗口

Emacs has next-buffer and previous-buffer, but no analogous interactive functions for window navigation. Just other-window.

推荐答案

Cu - (Control + U,然后是减号),或者甚至更简单地 C - (Control minus)。

Provide a negative argument with C-u - ("Control+U" then "minus"), or even more simply C-- ("Control minus").


  • 移动到上一个窗口: C-- Cx o

  • 移动到上一帧: C- - Cx 5 o

  • Move to previous window: C-- C-x o
  • Move to previous frame: C-- C-x 5 o

从代码中,(other-window -1)(other-frame -1)将会做同样的事情。

From code, (other-window -1) or (other-frame -1) will do the same thing.

查看帮助对于您要反转的密钥(例如 Ch k Cx o 来显示 Cx o 的帮助),如果它说否定参数...,你知道你可以使用 C -

Check out the help for the key you want to reverse (e.g. C-h k C-x o to show help for C-x o) and if it says "A negative argument..." you know you can use C--.

这篇关于在Emacs中,其他窗口(C-x o)的相反功能是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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