3 ms·
I don't really have experience with notepad++ at all, but I did try sublime text 2 for a while. It really wasn't my cup of tea. Vim is really useful to me becau
by allemagne 12y ago
I don't really have experience with notepad++ at all, but I did try sublime text 2 for a while. It really wasn't my cup of tea. Vim is really useful to me because it's easy to use in terminals and it has a lot of powerful, time-saving keystrokes once you get past the learning curve. Need to comment out lines 52-58? ":52,58s/^/#/", which comes naturally after a little practice. I've used emacs and it's very comparable, but I just happened to like vim more. It can be just a matter of taste, but I really recommend checking out both vim and emacs to see if it can save you time typing out small, repetitive stuff that isn't worth writing a script to do.
- ThrustVectoring 12y ago52GqqI#<Esc><Enter>q6@q is how I'd usually do that (go to line 52, record how to comment out a line and move to the next line, then do that 6 more times). The macro is about the same number of keystrokes to write, is more generally powerful, and leans more on standard editing skills.