Sublime Forum

motion_args, how to much half page?

#1

Hi,

I’m trying to use a set_motion command to move cursor half page down/up, that is possible using set_motion?
Also, I couldn’t find any documentation on set_motion at all, how can I know all variations of it (so many options on motion_args), I tried to search on Packages for it, but can’t find how to move half page.

If it’s not possible to do it directly, there is any way to detect how many lines are visible? So that way I can create a new command for moving half page.

Thanks

0 Likes