【问题标题】:Move cursor to the middle of the screen in emacs在emacs中将光标移动到屏幕中间
【发布时间】:2015-04-22 00:17:53
【问题描述】:

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

H -- 移动到屏幕顶部

L -- 移动到屏幕底部

M -- 移动到屏幕中间

emacs中有类似的吗??

【问题讨论】:

    标签: vim emacs text-cursor


    【解决方案1】:

    您可以使用move-to-window-line-top-bottom(绑定到 M-r)。请参阅(info "(emacs) Moving point") 了解更多信息。

    【讨论】:

      【解决方案2】:

      ...以及强制注释:如果您使用evil-mode,vim 层,您也可以这样做。

      安装(使用melpa):

      package-install evil RET
      

      使用:

      M-x evil-mode
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-03-28
        • 2012-05-11
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多