Peter Hodge napsal(a):
--- Tomas Lovetinsky [EMAIL PROTECTED] wrote:
Hi,
I would like to ask you for help with my problem. I think it is simple but in
fact I'm not able to
find the solution as quickly as I need.
I need to do sometink like
:s/a/b/g :wq
It means to substitute, write and close
Hi,
I would like to ask you for help with my problem. I think it is simple but in fact I'm not able to
find the solution as quickly as I need.
I need to do sometink like
:s/a/b/g :wq
It means to substitute, write and close file.
Is there any solution?
Thank you all in advance
Tomas
Tomas Lovetinsky wrote:
Hi,
I would like to ask you for help with my problem. I think it is simple
but in fact I'm not able to find the solution as quickly as I need.
I need to do sometink like
:s/a/b/g :wq
It means to substitute, write and close file.
Is there any solution?
Thank you all in
Most commands may be separated by a vertical bar (|), see :help :bar
This will do what you want:
:s/a/b/g | w | q
On Mon, Oct 16, 2006 at 01:34:31PM +0100, Tomas Lovetinsky wrote:
Hi,
I would like to ask you for help with my problem. I think it is simple but
in fact I'm not able to find
--- Tomas Lovetinsky [EMAIL PROTECTED] wrote:
Hi,
I would like to ask you for help with my problem. I think it is simple but in
fact I'm not able to
find the solution as quickly as I need.
I need to do sometink like
:s/a/b/g :wq
It means to substitute, write and close file.
Hello,
You