3 ms·
> I also wonder if Vim is a productivity gain at all. The big productivity gain for me doesn't come from faster editing due to the shortcuts, per se, but from
by lvncelot 4y ago
> I also wonder if Vim is a productivity gain at all.
The big productivity gain for me doesn't come from faster editing due to the shortcuts, per se, but from the golden combo of modal editing and macros. Due to how you treat similar looking text in vim, macros are much more powerful than something like multi-line-cursors, which break down when you want to, for instance, delete the first part of 5 pascalCased variables with different lengths. Luckily, iirc, the vim integration in VSCode supports macros, so people who want to keep working in VSCode because of the excellent ecosystem can still have the best of both worlds.
- mkingston 4y agoHow would you achieve your example with macros? My inclination would be to do this with regex replace and I can't think how I'd do it with macros. I guess there's some functionality I'm missing? Jump-to-first-upper-case-character?
- andoryuu 4y ago> delete the first part of 5 pascalCased variables with different lengths In VSCode there are available bindings for subword navigation (shortcuts starting with cursorWordPart).