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 file.

Hello,

You can separate multiple commands using '|', therefore:

  :s/a/b/g | wq

regards,
Peter


Thanks to all for your advices - it works well!

Tomas

Reply via email to