Re:VS Code can do that?
by 0x6c6f6c on Saturday April 21, 2018 @12:35PM
(#16892073)
What's this do differently from just pressing Home with multicursors?
[ Parent
| on HN ]
It saves a whole keypress (because you need to go into multicursor mode first, then press Home / Ctrl+A to get to the beginning of the line.
Additionally, there is a case where if you don't select the last line until the end, you end up in a state where the last cursor is already at the beginning. If you press "Home" now, you end up having that last cursor at the beginning of the line - and the other ones at the indentation level (see https://github.com/Microsoft/vscode/issues/14919#issuecommen...)
(Disclaimer: Author of the mentioned plugin, so I am heavily biased against my own workflow and saving-keypresses-obsession :P)
> What's this do differently from just pressing Home with multicursors?
Pressing home doesn't always put you at the true beginning of the line. It will put you at the first non-whitespace character.
If you press it twice, it will put you at the beginning of the line.