Re: VIM Q again
- From: Cameron Simpson <cs@xxxxxxxxxx>
- Date: Mon, 2 Jun 2008 10:39:11 +1000
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
- Follow-Ups:
- Re: VIM Q again
- From: Gene Heskett
- Re: VIM Q again
- References:
- VIM Q again
- From: Gene Heskett
- VIM Q again
- Prev by Date: VIM Q again
- Next by Date: Re: No status messages on restart
- Previous by thread: VIM Q again
- Next by thread: Re: VIM Q again
- Index(es):
Relevant Pages
|