3 ms·
1: ctrl-f, 2:, esc 2: select the first :, ctrl+d until all are selected, right arrow, comma Doesn’t sound any more efficient? Plus, who writes code without an
by jiofih 7y ago
1: ctrl-f, 2:, esc
2: select the first :, ctrl+d until all are selected, right arrow, comma
Doesn’t sound any more efficient? Plus, who writes code without an auto-formatter these days? Problem two would have been solved by the linter the moment you wrote that.
- edanm 7y agoIt's not just code and linting though - this kind of thing happens when you're editing YAML files, when you're editing pure text, when you're editing CSVs, when you're editing some obscure thing no one's heard of - once you have the primitives down, it's just so easy to apply it everywhere.
- jiofih 7y agoDid you read what I just wrote? Those commands are not specific to any language.
- edanm 7y agoSorry, I was referring to the second part (about the linter.) Obviously the first part is language-neutral, and is exactly why I think multiple cursors is one of the greatest inventions in text editing! :)