Posted by: Anonymous Coward
on January 25, 2007 11:15 AM
But, the first argument can be done via a regular expression itself.
Then again, I find it hard to use regular expression on vim on, say,
10 specific lines I choose from.
That was exactly what I was talking about: choosing specific lines on
which to run your substitution. You can choose by number, or by some
selection, or by various more sophisticated criteria.
I read it somewhere you have to tell the line numbers to execute the
regular expression,
Not true. You can use regular expressions on mouse-highlighted
regions as well. You can even use them (and any other
text-manipulation features) on rectangular blocks (columns 10-20 on
lines 5-10, say). I don't know of any other editor that can do that.
Then the first 4 of the lists are possible by default on my Windows
text editor (not notepad...) as for the rest I never felt the need,
so never using it, but EmEditor had a macro scripting function in
perl/php/ruby/js or some such languages last time I read about it
not in just 'ex' line editing command we never use day to day.
First of all, vi also supports perl/python/whatever scripting. The point is that ex commands are vi commands.
Secondly, I'm not interested in getting into a feature-for-feature
comparison with you. I thought you were asking for a sample of
features, so I gave you a sample. If you're not interested in those
features, well, that's your business. If you're interested in all the
features, read the documentation.
Unfortunately, now you're starting to sound like a troll.
The list is endless, I know, and how you can customize vim is also
endless, I know, but the complexity of it is also endless, making me
rather not use it anyway.
I just find it, until you customize vim so it doesn't even look like
vim anymore to your best taste, it only has features that is capable
in Windows text editors but with uglier(= harder to use)
desgin.
That's great for you. If your editor is so wonderful, why even bother
reading an article about vim?
Re:Why Vim?
Posted by: Anonymous Coward on January 25, 2007 11:15 AMThat was exactly what I was talking about: choosing specific lines on
which to run your substitution. You can choose by number, or by some
selection, or by various more sophisticated criteria.
Not true. You can use regular expressions on mouse-highlighted
regions as well. You can even use them (and any other
text-manipulation features) on rectangular blocks (columns 10-20 on
lines 5-10, say). I don't know of any other editor that can do that.
First of all, vi also supports perl/python/whatever scripting. The point is that ex commands are vi commands.
Secondly, I'm not interested in getting into a feature-for-feature
comparison with you. I thought you were asking for a sample of
features, so I gave you a sample. If you're not interested in those
features, well, that's your business. If you're interested in all the
features, read the documentation.
Unfortunately, now you're starting to sound like a troll.
That's great for you. If your editor is so wonderful, why even bother
reading an article about vim?
J
#