Friday, July 13, 2012

Re: Determine the buffer that was last closed

Am 13.07.2012 14:09, schrieb Axel Bender:
> Is there a way to determine the number/name of the buffer that was last closed with :bd?

:au BufDelete * let g:last_deleted_buf = expand("<abuf>")

--
Andy

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: