Vim Script : How to Delete a buffer or exit Vim at the end of a treatment ?

2006-06-21 Thread Eddine
Hi, I'm using a vim script to make some data formating. I source it from the original file I want to process and the script produces me a new file. I would like to add commands that whether emply the buffer list or exit Vim once I'm done. I tried to add :bd :bd :q or bd bd q or even :bdCR

Re: Vim Script : How to Delete a buffer or exit Vim at the end of a treatment ?

2006-06-21 Thread A.J.Mechelynck
Eddine wrote: Hi, I'm using a vim script to make some data formating. I source it from the original file I want to process and the script produces me a new file. I would like to add commands that whether emply the buffer list or exit Vim once I'm done. I tried to add :bd :bd :q or bd bd q