Multi-cursor code editing: An animated introduction
alexharri.com
alexharri.com
Next one in this list should def be about using the "Replace" box effectively, where you can use Regex and $1 and other advanced stuff (you can even do it across files if you are brave enough).
Only changes I'd make:
1) You've already got a lot of JS here, it would be nice if you auto-detected the operating system and showed the right shortcuts for windows users! People on windows generally don't use "^" for ctrl, so that will confuse new folks I think. They tend to write it out; eg "ctrl-left".
2) In the demos, it would be cool if you had the keyboard shortcut appear as the action is happening. That'll really help drive home what's happening. The "view steps" thing is a little confusing/disjointed from the action.
3) The scroll-in appear animation is pretty, but a little annoying when I'm just scrolling back up through the doc looking for something. I'd make it only apply once if possible when the codeblock first comes into view. And then keep it constant.
Also TIL about selecting newlines with ctrl-d! That's a common usecase for me, but I use the vs code shortcut "shift-alt-i" which selects all lines in the current selection.
A common action for me is to use (the equivalent of) cmd+d to select the most obvious repeated symbol then use vim movements from there.
[0] https://github.com/hlissner/vim-multiedit [1] https://github.com/magnars/multiple-cursors.el
If I recall correctly it took a little while for vscode to fully implement what's shown here and the shortcut keys were also not initially the same. I didn't switch to vscode until that was sorted out.
For Mac specific shortcuts...
Ctrl + G adds the next occurrence to the selection
Ctrl + Command + G adds all occurrences in the current file to the selection
I'd add filling out boilerplate (e.g., impl trait defintions).
An extension can also increment selected numbers together or turn selected 0s into a sequence.