mirror of
https://github.com/vim/vim
synced 2025-04-30 21:37:47 +02:00
12 lines
255 B
Text
12 lines
255 B
Text
Test for Bufleave autocommand that deletes the buffer we are about to edit.
|
|
|
|
STARTTEST
|
|
:so small.vim
|
|
:au BufLeave test9.in bwipe yy
|
|
:e yy
|
|
:/^start of/,$w! test.out " Write contents of this file
|
|
:qa!
|
|
ENDTEST
|
|
|
|
start of test file xx
|
|
end of test file xx
|