Emacs:滚动缓冲区未指向 [英] Emacs: scroll buffer not point

查看:66
本文介绍了Emacs:滚动缓冲区未指向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以滚动Emacs中缓冲区的整个可见部分,但将其留在原处。例如:点指向窗口的底部,我想看到一些滚动到窗口顶部而没有移动点的文本。

Is it possible to scroll the entire visible portion of the buffer in Emacs, but leave point where it is. Example: point is towards the bottom of the window and I want to see some text which has scrolled off the top of the window without moving point.

编辑:我想 Cl Cl 是我想要的。

I suppose C-l C-l sort of does what I wanted.

推荐答案

试试这些。根据您的喜好更改 Mn Mp 键绑定

try these. Change M-n and M-p key bindings according to your taste

;;; scrollers
(global-set-key "\M-n" "\C-u1\C-v")
(global-set-key "\M-p" "\C-u1\M-v")

这篇关于Emacs:滚动缓冲区未指向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆