Sublime Forum

Move cursor up or down multiple lines?

#1

Trying to implement a keybinding to allow me to quickly navigate up or down multiple lines at a time, but it seems the “amount” parameter is ignored… Any suggestions? Thanks.

{ "keys": "ctrl+up"], "command": "move", "args": {"by": "lines", "forward": false, "amount": 5.0 }},
{ "keys": "ctrl+down"], "command": "move", "args": {"by": "lines", "forward": true, "amount": 5.0 }},
0 Likes

#2

I don’t know that the move command has an “amount” parameter. However, You can get the behavior you want by creating a simple macro.

0 Likes

#3
0 Likes