如何在 GNU Emacs 中逐行滚动? [英] How to scroll line by line in GNU Emacs?

查看:24
本文介绍了如何在 GNU Emacs 中逐行滚动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单地说,我试图像在 vim 和大多数其他编辑器中一样在 emacs 中滚动;例如,当我从底部/顶部开始两行,然后按下/向上 (Ctrl-p,n, ,) 它只向上或向下一行,而不是屏幕的一半.

To put it simply, I'm trying to get scrolling in emacs like in vim and most other editors; when I'm for example, two lines from the bottom/top, and I press down/up (Ctrl-p,n, ,) it goes only one line up or down, not half the screen.

推荐答案

在 Emacs Wiki 上查看一些建议:

See some of the suggestions on the Emacs Wiki:

(setq scroll-step            1
      scroll-conservatively  10000)

这篇关于如何在 GNU Emacs 中逐行滚动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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