无法在Emacs中的屏幕之间移动

时间:2022-09-06 18:50:28

I have two screens, one is empty and the other is Emacs' manual. My cursor is at the empty screen.

我有两个屏幕,一个是空的,另一个是Emacs的手册。我的光标在空屏幕上。

All my commands affect the empty screen.

我的所有命令都会影响空白屏幕。

A similar command in Vim is C-w.

Vim中的类似命令是C-w。

How can you switch to the Emacs' manual such that I can roll down the screen by C-v?

如何切换到Emacs的手册,以便我可以通过C-v滚动屏幕?

4 个解决方案

#1


Like zaczap said use "C-x o" (control "x" then "o") for moving between "frames" in a single window, or "C-x 5 o" to move between different windows.

像zaczap所说的那样使用“C-x o”(控制“x”然后“o”)在单个窗口中的“帧”之间移动,或者使用“C-x 5 o”在不同窗口之间移动。


By "window" I mean a window manager object with a title bar and decorations and all that, while "frame" means a part of a whole window set off to contain a single buffer.

“窗口”是指具有标题栏和装饰的窗口管理器对象以及所有这些,而“帧”表示整个窗口的一部分被设置为包含单个缓冲区。


Other important commnds:

其他重要的提交:

  • "C-x 2" to make a new frame in this window or "C-x 5 2" to make a new window
  • “C-x 2”在此窗口中创建一个新帧或“C-x 5 2”以创建一个新窗口

  • "C-x 0" to close the current frame or "C-x 5 0" to close the current window
  • “C-x 0”关闭当前帧或“C-x 5 0”关闭当前窗口

  • "C-x 1" to make the current frame expand to use the entire window.
  • “C-x 1”使当前帧扩展为使用整个窗口。

#2


Control-x + o (C-x + o), google emacs cheat sheet for help

Control-x + o(C-x + o),谷歌emacs备忘单寻求帮助

  1. hold Control
  2. press X
  3. release Control and X
  4. 释放Control和X.

  5. press O

#3


You can also scroll the other screen (“window” in Emacs terms) without leaving the screen you're currently in:

您也可以滚动其他屏幕(Emacs术语中的“窗口”)而不离开您当前所在的屏幕:

Meta (Alt) + PageUp/PageDown

Meta(Alt)+ PageUp / PageDown

#4


Emacs cheat sheet - heavy rotation commands ^ : CTRL key M : Esc or ALT key

Emacs备忘单 - 重型旋转命令^:CTRL键M:Esc或ALT键

Emacs ^h i manual

Emacs ^ h i手动

^x^c quit ^d delete next char ^x^s save BACKSPACE delete prev char
^x^w save as
^x u undo M-d delete next word ^g abort command M-BACKSPACE delete prev word

^ x ^ c退出^ d删除下一个char ^ x ^ s保存BACKSPACE删除prev char ^ x ^ w另存为^ x u undo M-d删除下一个词^ g abort命令M-BACKSPACE删除prev word

^f --> char ^k delete to end of line ^b <-- char
^p /\ up ^-SPACE start region ^n / down ^w cut M-w copy ^y paste M-f next word ->
M-b prev. word <-
^x b switch/new buffer ^x^f open file ^a beginning line
^e end line ^s search M-g g go to line

^ f - > char ^ k删除到行尾^ b < - char ^ p / \ up ^ -SPACE start region ^ n / down ^ w cut M-w copy ^ y paste M-f next words - > M-b prev。单词< - ^ x b开关/新缓冲区^ x ^ f打开文件^开始行^ e结束行^ s搜索M-g g转到行

^v screen / down
M-v screen /\ up ^x 0 delete window ^x 1 delete other windows ^x 2 split vertical ^x 3 split horizontal ^x o delete current window

^ v屏幕/向下M-v屏幕/ \向上^ x 0删除窗口^ x 1删除其他窗口^ x 2分割垂直^ x 3分割水平^ x o删除当前窗口

#1


Like zaczap said use "C-x o" (control "x" then "o") for moving between "frames" in a single window, or "C-x 5 o" to move between different windows.

像zaczap所说的那样使用“C-x o”(控制“x”然后“o”)在单个窗口中的“帧”之间移动,或者使用“C-x 5 o”在不同窗口之间移动。


By "window" I mean a window manager object with a title bar and decorations and all that, while "frame" means a part of a whole window set off to contain a single buffer.

“窗口”是指具有标题栏和装饰的窗口管理器对象以及所有这些,而“帧”表示整个窗口的一部分被设置为包含单个缓冲区。


Other important commnds:

其他重要的提交:

  • "C-x 2" to make a new frame in this window or "C-x 5 2" to make a new window
  • “C-x 2”在此窗口中创建一个新帧或“C-x 5 2”以创建一个新窗口

  • "C-x 0" to close the current frame or "C-x 5 0" to close the current window
  • “C-x 0”关闭当前帧或“C-x 5 0”关闭当前窗口

  • "C-x 1" to make the current frame expand to use the entire window.
  • “C-x 1”使当前帧扩展为使用整个窗口。

#2


Control-x + o (C-x + o), google emacs cheat sheet for help

Control-x + o(C-x + o),谷歌emacs备忘单寻求帮助

  1. hold Control
  2. press X
  3. release Control and X
  4. 释放Control和X.

  5. press O

#3


You can also scroll the other screen (“window” in Emacs terms) without leaving the screen you're currently in:

您也可以滚动其他屏幕(Emacs术语中的“窗口”)而不离开您当前所在的屏幕:

Meta (Alt) + PageUp/PageDown

Meta(Alt)+ PageUp / PageDown

#4


Emacs cheat sheet - heavy rotation commands ^ : CTRL key M : Esc or ALT key

Emacs备忘单 - 重型旋转命令^:CTRL键M:Esc或ALT键

Emacs ^h i manual

Emacs ^ h i手动

^x^c quit ^d delete next char ^x^s save BACKSPACE delete prev char
^x^w save as
^x u undo M-d delete next word ^g abort command M-BACKSPACE delete prev word

^ x ^ c退出^ d删除下一个char ^ x ^ s保存BACKSPACE删除prev char ^ x ^ w另存为^ x u undo M-d删除下一个词^ g abort命令M-BACKSPACE删除prev word

^f --> char ^k delete to end of line ^b <-- char
^p /\ up ^-SPACE start region ^n / down ^w cut M-w copy ^y paste M-f next word ->
M-b prev. word <-
^x b switch/new buffer ^x^f open file ^a beginning line
^e end line ^s search M-g g go to line

^ f - > char ^ k删除到行尾^ b < - char ^ p / \ up ^ -SPACE start region ^ n / down ^ w cut M-w copy ^ y paste M-f next words - > M-b prev。单词< - ^ x b开关/新缓冲区^ x ^ f打开文件^开始行^ e结束行^ s搜索M-g g转到行

^v screen / down
M-v screen /\ up ^x 0 delete window ^x 1 delete other windows ^x 2 split vertical ^x 3 split horizontal ^x o delete current window

^ v屏幕/向下M-v屏幕/ \向上^ x 0删除窗口^ x 1删除其他窗口^ x 2分割垂直^ x 3分割水平^ x o删除当前窗口