在 emacs 中将光标移动到屏幕中间

Move cursor to the middle of the screen in emacs

在 vim 中你有移动光标而不是页面的键

H -- 移动到屏幕顶部

L -- 移动到屏幕底部

M -- 移动到屏幕中间

emacs 中有类似的东西吗??

您可以使用 move-to-window-line-top-bottom(绑定到 M-r)。有关详细信息,请参阅 (info "(emacs) Moving point")

…和强制注释:如果你使用 evil-mode,vim 层,你可以做同样的事情。

安装(melpa):

package-install evil RET

使用:

M-x evil-mode