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

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

问题描述

简单来说,我试图在vim和大多数其他编辑器中滚动emacs;例如,从底部/顶部的两行,我按下/向上( Ctrl - p n ,<

解决方案

请参阅EmacsWIki上的一些建议:





 
(setq scroll-step 1
scroll-conservatively 10000)


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.

解决方案

See some of the suggestions on the EmacsWIki:

(setq scroll-step            1
      scroll-conservatively  10000)

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

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