macos Emacs,切换到另一个框架(Mac OS X)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/93058/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Emacs, switching to another frame (Mac OS X)
提问by auramo
I can switch between windows with "C-x o", but if I have opened multiple frames, can I move between them without the mouse as well?
我可以使用“Cx o”在窗口之间切换,但是如果我打开了多个框架,我也可以不用鼠标在它们之间移动吗?
I just realized that the question probably sounds braindead without this detail: I'm on Mac OS X (Finnish keyboard) and switching between windows of the same application is difficult.
我刚刚意识到,如果没有这个细节,这个问题可能听起来很愚蠢:我使用的是 Mac OS X(芬兰语键盘),并且在同一应用程序的窗口之间切换很困难。
回答by Nicholas Riley
If you want an Emacs-centric method, try C-x 5 o.
如果你想要一个以 Emacs 为中心的方法,试试 Cx 5 o。
回答by John Newlin
Put this in your .emacs
把它放在你的 .emacs 中
(global-set-key "\M-`" 'other-frame)
(global-set-key "\M-`" 'other-frame)
Then you can do Command-` to switch between emacs frames.
然后你可以执行 Command-` 在 emacs 帧之间切换。
回答by Andrew Stein
I use M-x next-multiframe-window (bound to a key of course). Better IMHO than M-x other-frame (C-x 5 o).
我使用 Mx next-multiframe-window(当然绑定到一个键)。恕我直言,比 Mx other-frame (Cx 5 o) 更好。
next-multiframe-window steps thorough the windows of each frame. other-frame toggles just steps through the frames (like ALT-TAB)
next-multiframe-window 步骤遍历每个帧的窗口。other-frame 只切换帧(如 ALT-TAB)
回答by Trey Hymanson
I recently answered a similar question on SuperUser. There's a new package called framemove.el
, which lets you easily switch frames using the arrow keys (with a prefix key like shiftor meta).
我最近在 SuperUser 上回答了一个类似的问题。有一个名为 的新包framemove.el
,它可以让您使用箭头键(带有像shift或的前缀键meta)轻松切换帧。
To install:
安装:
(require 'framemove)
(framemove-default-keybindings) ;; default prefix is Meta
回答by Tomasz Tybulewicz
回答by Hortitude
I believe you can switch between frames the same way you switch between applications.
我相信您可以像在应用程序之间切换一样在帧之间切换。
On Windows I use Alt-TAB, on Unix I have my machine setup to use Ctrl-Alt-TAB
在 Windows 上,我使用 Alt-TAB,在 Unix 上,我的机器设置为使用 Ctrl-Alt-TAB