Emacs,切换到另一个框架(Mac OS X)

时间:2021-06-15 03:40:25

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?

我可以用“C-x 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(芬兰语键盘)上并且在同一个应用程序的窗口之间切换很困难。

6 个解决方案

#1


32  

If you want an Emacs-centric method, try C-x 5 o.

如果您想要以Emacs为中心的方法,请尝试使用C-x 5 o。

#2


21  

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帧之间切换。

#3


10  

I use M-x next-multiframe-window (bound to a key of course). Better IMHO than M-x other-frame (C-x 5 o).

我使用M-x next-multiframe-window(当然绑定到一个键)。比M-x其他帧(C-x 5 o)更好的恕我直言。

next-multiframe-window steps thorough the windows of each frame. other-frame toggles just steps through the frames (like ALT-TAB)

下一个多帧窗口遍历每个帧的窗口。其他帧只是逐步切换帧(如ALT-TAB)

#4


8  

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 shift or meta).

我最近在SuperUser上回答了类似的问题。有一个名为framemove.el的新软件包,它允许您使用箭头键轻松切换帧(使用前缀键,如shift或meta)。

To install:

(require 'framemove)
(framemove-default-keybindings) ;; default prefix is Meta

#5


3  

From manual the answer is "C-x 5 o" (but read the fine print at the and - about variable focus-follows-mouse)

从手册中得到的答案是“C-x 5 o”(但是在 - 和 - 关于可变焦点跟随鼠标的读取细则)

#6


0  

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

#1


32  

If you want an Emacs-centric method, try C-x 5 o.

如果您想要以Emacs为中心的方法,请尝试使用C-x 5 o。

#2


21  

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帧之间切换。

#3


10  

I use M-x next-multiframe-window (bound to a key of course). Better IMHO than M-x other-frame (C-x 5 o).

我使用M-x next-multiframe-window(当然绑定到一个键)。比M-x其他帧(C-x 5 o)更好的恕我直言。

next-multiframe-window steps thorough the windows of each frame. other-frame toggles just steps through the frames (like ALT-TAB)

下一个多帧窗口遍历每个帧的窗口。其他帧只是逐步切换帧(如ALT-TAB)

#4


8  

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 shift or meta).

我最近在SuperUser上回答了类似的问题。有一个名为framemove.el的新软件包,它允许您使用箭头键轻松切换帧(使用前缀键,如shift或meta)。

To install:

(require 'framemove)
(framemove-default-keybindings) ;; default prefix is Meta

#5


3  

From manual the answer is "C-x 5 o" (but read the fine print at the and - about variable focus-follows-mouse)

从手册中得到的答案是“C-x 5 o”(但是在 - 和 - 关于可变焦点跟随鼠标的读取细则)

#6


0  

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