在Emacs拆分窗口中,如何浏览其他窗口?

在Emacs拆分窗口中,如何浏览其他窗口?,emacs,Emacs,我使用C-X3将窗口分为左窗口和右窗口。光标在左侧窗口中,我可以使用C-n、C-p移动光标。我怎样才能停留在左侧窗口中,并将右侧窗口中的代码上下移动 我以前做过,但是我丢失了所有的emacs文件。所以我现在想不出来。谢谢。滚动其他窗口是您的朋友,默认情况下绑定到C-M-v。滚动其他窗口是您的朋友,默认情况下绑定到C-M-v。我在谷歌上搜索了答案 仍然可以使用滚动其他窗口功能并向其添加参数。详情如下: (defun scroll-other-window-up-line () "Scroll

我使用C-X3将窗口分为左窗口和右窗口。光标在左侧窗口中,我可以使用C-n、C-p移动光标。我怎样才能停留在左侧窗口中,并将右侧窗口中的代码上下移动


我以前做过,但是我丢失了所有的emacs文件。所以我现在想不出来。谢谢。

滚动其他窗口
是您的朋友,默认情况下绑定到
C-M-v

滚动其他窗口
是您的朋友,默认情况下绑定到
C-M-v

我在谷歌上搜索了答案

仍然可以使用
滚动其他窗口
功能并向其添加参数。详情如下:

(defun scroll-other-window-up-line ()
  "Scroll the other window one line up."
  (interactive)
  (scroll-other-window -1))
(defun scroll-other-window-down-line ()
  "Scroll the other window one line down."
  (interactive)
  (scroll-other-window 1))
(global-set-key (kbd "M-p") 'scroll-other-window-up-line)
(global-set-key (kbd "M-n") 'scroll-other-window-down-line)

希望能有所帮助。

我在谷歌上搜索答案

仍然可以使用
滚动其他窗口
功能并向其添加参数。详情如下:

(defun scroll-other-window-up-line ()
  "Scroll the other window one line up."
  (interactive)
  (scroll-other-window -1))
(defun scroll-other-window-down-line ()
  "Scroll the other window one line down."
  (interactive)
  (scroll-other-window 1))
(global-set-key (kbd "M-p") 'scroll-other-window-up-line)
(global-set-key (kbd "M-n") 'scroll-other-window-down-line)

希望它能有所帮助。

如果您还没有设置好的备份系统,我建议在某个地方为您的emacs配置(例如github)设置远程存储库,并确保它是最新的。如果您还没有设置好的备份系统,我建议在某个地方为您的emacs配置(例如github)设置远程存储库,而且要确保它是最新的。C-M-v很好,但它可以移动一页。在我以前的经验中,我可以逐行浏览,就像当前窗口中的C-n、C-p一样。我希望您能够使用此信息做其他类似的事情。C-M-v很好,但它可以移动一页。根据我以前的经验,我可以逐行浏览,就像当前窗口中的C-n、C-p一样。我希望您能够使用此信息做其他类似的事情。谢谢。这和我以前用的一样。但是我没有绑定到
M-p
M-n
。谢谢。这和我以前用的一样。我没有绑定到
M-p
M-n