4 ms·
VS Code: alt+arrow to move a line up/down alt+shift+arrow to duplicate a line or block of text above or below alt+ctrl+arrow for multi-cursor ctrl+d for sele
by _vdpp 5y ago
VS Code:
alt+arrow to move a line up/down
alt+shift+arrow to duplicate a line or block of text above or below
alt+ctrl+arrow for multi-cursor
ctrl+d for select next instance of a word
I have these baked into my muscle memory such that I had to physically type them it to remember what key combos they were! I feel completely naked without these combos in other editors.
- lkois 5y agothank you for ctrl+d. i felt like id forgotten how to cycle through searches middle mouse button also for multi-cursor. good for getting to the ends of lines with different lengths, then ctrl+arrow back through them