Open obsgolem opened 3 years ago
Thx for the port!
We have now:
{
"key": "ctrl+down",
"command": "cursorMove",
"when": "editorTextFocus",
"args": {
"to": "nextBlankLine",
"by": "wrappedLine"
},
},
But what about:
{
"key": "ctrl+shift+down",
"command": "spaceBlockJumper.selectDown",
"when": "editorTextFocus"
},
So how do we SELECT?
{
"key": "shift+alt+up",
"command": "cursorMove",
"when": "editorTextFocus",
"args": {
"to": "prevBlankLine",
"by": "wrappedLine",
"select": true
}
}
Great that this functionality has been implemented in vscode core!
Since the rich keyboard shortcuts editor cannot currently edit the args
or when
section of a keybinding (tracked in #84072), it is not very discoverable, and some related basic commands are also missing that would be great to implement:
The difference between using shift+home is that hitting ctrl+shift+up multiple times would add another line each time, while +home does not expanding selection.
For reference: https://github.com/microsoft/vscode/issues/116418#issue-806129680
{ "key": "shift+alt+up", "command": "cursorMove", "when": "editorTextFocus", "args": { "to": "prevBlankLine", "by": "wrappedLine", "select": true } }
How do you add multiple cursor to similar selected. I know shift + alt + i
as add cursor to end lines when selected lines. but I'm looking for make ctrl + shift + alt + down
to quick add cursor until nextBlankLine
?
This also doesn't address the issue of jumping with multiple cursors. Compare the functionality in Sublime Text, which works with multiple cursors:
{ "keys": ["alt+["], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false} },
The functionality given by this extension has been ported to vscode core, see https://github.com/microsoft/vscode/issues/114166. In doing so, #3 is fixed. I recommend this extension be deprecated.