Naim Far wrote:
Hi all,

Could anyone help me with the command of checking if a certain buffer
exists, I wasn't to do something like the following

"
if( exists(<File Name) )  ;; a buffer exists
 b <File Name> ;; open the buffer
else
 find <File Name> ;; find such a file and open it
endif "

Thanx in advance...



        :help bufexists()


Best regards,
Tony.
--
The sheep that fly over your head are soon to land.

Reply via email to