Sublime Forum

Select previous line (expand_selection backwards)

#1

If that helps to understand the issue, in vim i extensively used line selection (capital V) mode. So great Sublime has it too. But only in one direction?
Is it possible to do expand_selection “to”: “line”, but to previous line instead of next?

Have:
{ “keys”: “ctrl+l”], “command”: “expand_selection”, “args”: {“to”: “line”} },

Want:
{ “keys”: “ctrl+shift+l”], “command”: “expand_selection”, “args”: {“to”: “line”}, {“forward”: “false”} },
or similar

The select_lines forward=false seems to do close to wanted thing except it creates multiple cursors which breaks expected (usual?) copy-paste behaviour.
{ “keys”: “alt+shift+up”], “command”: “select_lines”, “args”: {“forward”: false} },

0 Likes

How to select previous line (MacOS)?
#2

{ “keys”: [“ctrl+shift+l”], “command”: “move”, “args”: {“by”: “lines”, “forward”: false, “extend”: true} },

0 Likes