(Ctrl + up/down)-style scrolling in Emacs

前端 未结 4 682
说谎
说谎 2020-12-18 04:24

I don\'t mean smooth scrolling, but keeping the cursor at a fixed point, and always moving one \'screenful\', one line at a time, as one (in Eclipse or other IDEs) presses c

4条回答
  •  情书的邮戳
    2020-12-18 04:34

    As mentioned, Emacs does not offer this functionality nowadays. It could be implemented, but nobody bothered to do so yet, AFAIK [EDIT: actually, it looks like I mis-rememebered, and Martin did implement such a thing, see https://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01892.html ]. The usual workaround is to place a mark with C-SPC C-SPC and then use C-u C-SPC when you want to return where you were.

提交回复
热议问题