Farzher
Farzher

Reputation: 14563

How do I scroll using hotkeys?

I'm trying to recreate this from sublime text:

{ "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 1.0 } },
{ "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -1.0 } },

Upvotes: 2

Views: 1437

Answers (1)

Dmytro Sadovnychyi
Dmytro Sadovnychyi

Reputation: 6201

Scroll by one line is not currently supported by API, but you can use this plugin which implements it:

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

Upvotes: 5

Related Questions