Re: VIM Q again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01Jun2008 20:19, Gene Heskett <gene.heskett@xxxxxxxxxxx> wrote:
| However adding the missing comments is severely hampered by vim's apparent 
| inability to do a global search and replace with the example shown in 
| the ":help change" portion of the online help.

The help is probably wrong then.

| So what am I doing wrong when in the command mode, I type
| /s/L1BAE/isspace/&g, or :s/L1BAE/isspace/&g

What do you think each of the "&" and the "g" do in your line?

Next. What does:

  :s/L1BAE/isspace/g

do? That's for a single line. Every line:

  :%s/L1BAE/isspace/g

It would help if you explained what you were trying to achieve instead of
what you were trying to type.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

The most incomprehensible thing about the world is that it is at all comprehensible.
- Albert Einstein

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux