1 Some tests for buffer-local autocommands
7 :au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
8 :e somefile " here, autocommand for xx shall write test.out
9 : " but autocommand shall not apply to buffer named <buffer>
10 :bwipe xx " here, autocommand shall be auto-deleted
11 :e xx " nothing shall be written
12 :e somefile " nothing shall be written