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

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

问题描述

我的意思不是平滑滚动,而是将光标保持在固定点,并且总是移动一个全屏",一次一行,因为一个人(在 Eclipse 或其他 IDE 中)按 ctrl + 向上/向下.

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.

不知道怎么称呼.

在 Emacs 中实现了吗?

Has it been implemented in Emacs?

推荐答案

光标(点)和视口(窗口)的分离在现代 GUI 中很常见.不幸的是,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.

有趣的是,您在使 Emacs 随心所欲方面取得了如此大的成功.就我个人而言,我发现如果我不至少中途遇到 Emacs,这会让我很痛苦.

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.

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

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