(Ctrl +上/下) - Emacs中的滚动 [英] (Ctrl + up/down)-style scrolling in Emacs

查看:183
本文介绍了(Ctrl +上/下) - Emacs中的滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不是平滑的滚动,而是将光标保持在一个固定的位置,并且始终像一个(在Eclipse或其他IDE中)按下ctrl + up / down一样移动一个屏幕,一行一行。



然后,当一个平原向上/向下按压时,如果需要,屏幕跳转,以确保光标的可视性。



不知道它是如何调用的。



是否已在Emacs中实现?

解决方案

分离光标(点)和视口(window)在现代GUI中很常见。不幸的是,Emacs显示引擎不允许这样做。这不是教条,只是技术性。如果你想写这个功能,我相信开发团队将会欢迎它。



有趣的是,您有非常成功的方式将Emacs转换为您的意愿。就个人而言,我发现如果我至少不满足Emacs的中途,那给我痛苦。


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 ctrl + up/down.

Then when one presses plain up/down, screen jumps if necessary in order to assure cursor's visibility.

Don't know how is it called.

Has it been implemented in Emacs?

解决方案

Separation of cursor (point) and viewport (window) is common in modern GUI. Unfortunately the Emacs display engine does not allow this. It's not dogmatic, just technical. If you want to write this feature, I'm sure the development team will welcome it.

You do learn to live with it though.

It's interesting that you have so much success bending Emacs to your will. Personally, I find if I don't at least meet Emacs half-way, it gives me pain.

这篇关于(Ctrl +上/下) - Emacs中的滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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