If it's a RHEL or Fedora box, and you don't want the fun syntax coloring, etc. that vim provides, try

$ unalias vi

in your shell. That should get you back to a plain-jane version of vi (vim, really) that doesn't do all the extra whiz-bang junk vim provides.

--[Lance]

[EMAIL PROTECTED] wrote:
Ah, good point.  I'm feeling *a little* better.

After trying to figure out what was going wrong I found the following odd scenario:

vi ./file
(auto repeat is NOT on)
(save file)

chmod 755 ./file
vi ./file
(auto repeat IS on)

Strange.

If I am editing a file with the executable bits set and I enter interactive mode and write a comment, then hit enter VIM automatically places a "#" at the start of the next line.

In order to stop having "#"s at the start of every line I have to:

1. hit escape
2. and rather than appending to the end of that line I have to use the "j"
key to drop to a new which seems to exit auto repeat.

I guess I just have to get used to using this wonderful "feature" and overcome 10 years of escaping out of interactive mode then hitting "a" then "enter" to get to a "clean" newline.

I guess I freaked out a bit. :)  Heh... work is fun.

Greg


-----Original Message----- From: Jeremy Portzer <[EMAIL PROTECTED]> Sent: Oct 21, 2004 1:12 PM To: Triangle Linux Users Group discussion list <[EMAIL PROTECTED]> Subject: Re: [TriLUG] God, how I hate thee, VIM

What do you mean by a "POS auto-repeat thing" ... what are the exact
symptoms/problems?  I realize your frustration but we need a little
clearer description..

Also feel free to drop by IRC, #trilug on irc.freenode.net, as a place
to vent frustration too :-)

Jeremy

On Thu, 2004-10-21 at 13:06, [EMAIL PROTECTED] wrote:

I'm running Knoppix 3.4 (I don't have a 3.6 cd here) and I'm having to write scripts. VIM for some [EMAIL PROTECTED]&* reason, VIM has a a POS auto-repeat thing built in with no clear way to shut off what is simply the MOST ANNOYING THING SINCE THE BLINK TAG!!!!!!

Man page = no help. Google = no help yet.

-- Celebrate The Circle: http://www.celebratethecircle.org/ Carolina Spirit Quest: http://www.carolinaspiritquest.org/ My LiveJournal: http://www.livejournal.com/users/labrown/ GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9 -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc

Reply via email to