I need 20 minutes to understand every single step he made in this short.
Fighting one eyed Kirby
This is also possible using vscode 1. ctrl+alt+down at start of line to duplicate carets 2. ctrl+right x2 (move caret to word) 3. ctrl+shift+right (select whole word) 4. ctrl+c (copy word) 5. home, shift+end, delete (delete everything) 3. Write the test { ... code 4. paste accordingly 4. ??? 5. Profit
regular expressions are like magic, it's amazing how much time you can save once you understand them
i like your funny words wizard
This needs to be a whole series
Vim makes me love regexes. I have 3 years commercial experience but just recently I realised how awesome named groups are
I have no idea what I just watched, but I fervently believe it must be correct; it includes Kirby
Gotta love regex.
I love doing this for onlookers. I get so many "what did you just do?!" reactions
I've fought a one-eyed Kirby before. I learned a lot about skill issues us Quiche Eaters never knew we had.
It took me hours to learn this when I watched it first, when I look back at this now, seems so easy.
Cool. I read the doc on substitution in neovim after watching this. Realised just how simple it is. Thanks. I learned quite a lot today. I'll try to implement this in my work flow. Seems really useful.
I just don't think we should trust someone with that mustache.
if you like multicursor, here's how i personally do it in helix. it's not necessarily better or worse, just sharing: C a bunch of times to select the first char of each line. now all further operations happen for all lines at once, so you can work like it's just one line. wdwd to delete pub const. e to skip the var name. t<ret>d to select until before newline, and delete. use insert mode to type everything around the var names. option 2: after C, instead wwwd to delete just the var name. then X i believe selects one line. if not then you'll have to do ght<ret> to select from line start until newline. A-C puts you in replace mode without yanking. in insert, type out the first part, then C-r" to paste inline when needed. basically like regex replace without the regex.
This is the craziest thing I saw. Man knows things.
this is magic as far as im concerned
In vscode this is just Ctrl+shift+alt+down, ctrl+shift+right, ctrl+x, home, shift+end, bkspace, then ctrl+v after typing the words u want
I be fighting a one eyed kirby in my dreams
@TechJolt3d