如何使用热键滚动?

Far*_*her 2 atom-editor

我正在尝试通过崇高的文字来重新创建它:

{ "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 1.0 } },
{ "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -1.0 } },
Run Code Online (Sandbox Code Playgroud)

Dmy*_*hyi 5

API当前不支持滚动到一行,但是您可以使用实现此功能的此插件:

https://github.com/callum-ramage/ctrl-dir-scroll