Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.development.apps > #632

Re: Linux and vim

From Rainer Weikusat <rweikusat@mssgmbh.com>
Newsgroups comp.os.linux.development.apps
Subject Re: Linux and vim
Date 2011-02-10 13:27 +0000
Message-ID <87oc6kow87.fsf@sapphire.mobileactivedefense.com> (permalink)
References <472e3f1c-f1a9-4599-a768-eedc93554b40@w17g2000yqh.googlegroups.com> <ifjhmj$322$1@news.albasani.net> <2e4fee48-1c97-4bab-984b-08b5b8619f19@fm22g2000vbb.googlegroups.com> <iiv3rq$b8m$1@speranza.aioe.org>

Show all headers | View raw


Todd Carnes <toddcarnes@gmail.com> writes:
> On 12/31/2010 02:24 PM, Gordon Lightfoot wrote:
>>> As to your comment:
>>>> Something this simple shouldn't require regular expressions.
>>> Yes, maybe.  But then maybe not.  Do you want "assume" to change to
>>> "asSume"?  Probably not.  To tell vim that you want to change only
>>> the word "sum", but not things like "assume" of "summer", then you
>>> need to modify your command to: :%s/\<sum\>/Sum/g

[...]

>> Thanks for the info. As for the regular expressions, I'd use them if 
>> necessary. Thing is, this was just a small file in some programming
>> language and I could see the whole file (< 20 lines probably), and I
>> knew there weren't any other occurrences of "sum" in the other words.
>> I just wanted to "pretty it up" some and change the s to a cap. Now,
>> with your help, I can avoid such a situation in the future!
>
> Why don't you just use a better editor that's not so darned hard to use?
> Vim is ANCIENT and outdated anyway.

This is a statement which doesn't make much sense for actively
developed software with a significant userbase. Also 'hard to use' is
an 'in the eye of the beholder' quality: Many people who took the time
to learn the vi interface (the 'm' didn't fell on the floor by
accident) believe it is a highly efficient and thus, very easy to
use, way of editing texts. Nobody has, so far, claimed that it would
be very easy to learn, however.

Disclosure of personal affliations: Predominantly, I'm using Emacs and
I also use vi (again, no 'm' here) and ed on a regular basis. The
latter is something I'd especially recommend to learn since it is very
convenient for certain editing tasks. I think the UWash people who
designed pine must have come from an alient planet and I absolutely
loathe pico or nano. They are certainly 'easy to use' in the sense
that, for people who haven't yet learned to walk, a playpen is easier
to use than their feet ...

Back to comp.os.linux.development.apps | Previous | Next | Find similar


Thread

Re: Linux and vim Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-02-10 13:27 +0000

csiph-web