1 Some tests for buffer-local autocommands
8 : au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.out
11 : au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
13 :e somefile " here, autocommand for xx shall write test.out
14 : " but autocommand shall not apply to buffer named <buffer>
15 :bwipe xx " here, autocommand shall be auto-deleted
16 :e xx " nothing shall be written
17 :e somefile " nothing shall be written