3 ms·
What's this do differently from just pressing Home with multicursors?
by 0x6c6f6c 9y ago
What's this do differently from just pressing Home with multicursors?
- nickjj 9y ago> 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.
- kwood 9y agoIt 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#issuecomment-258928515 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)