3 ms·
It looks like your comment spawned a lot of discussion! I chose the "delete 5 lines" example because it was simple; the person I replied to said they weren't f
by bloopernova 5y ago
It looks like your comment spawned a lot of discussion!
I chose the "delete 5 lines" example because it was simple; the person I replied to said they weren't familiar with vim, and I didn't know how familiar they were with editors and code in general.
I think that perhaps you jumped to the incorrect conclusion about that part of my comment. I didn't impugn or insult visual studio code, nor try to insinuate that vim is better. In fact, I use vscode every work day for my devops day job, alongside Emacs for my org-mode documents, and vim for remote editing.
For counting lines, in vim I generally don't do that. If I have, say, a couple hundred lines to delete then I use something like 50dd a couple of times. Once I'm close to the end of what I wanted to delete, I just use dd followed by . to repeat that dd.
There's more than enough space in the world for multiple text editors! It doesn't really have to be a competition.