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

Re: VIM Q again



On 01Jun2008 20:19, Gene Heskett <gene heskett verizon net> 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 zip com au> DoD#743
http://www.cskk.ezoshosting.com/cs/

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


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