On 4/30/07, Normandie Azucena <[EMAIL PROTECTED]> wrote:
hi all!

I need to know if a certain buffer is modified. how can I do this?

if &modified | echo "buffer is modified" | endif

also can I disable the prompt that says that buffer or file has changed
and gives me an option to load the new file or not? because I want vim
to automatically load changed files at certain times(i.e. when I invoke
a certain function that automatically change the contents of the files)

Add exclamation mark to the command

Yakov

Reply via email to