Am 11.11.2012 17:13, schrieb Ben Fritz:
> On Saturday, November 10, 2012 10:36:30 AM UTC-6, Michael Neumann wrote:
>> Hi,
>>
>> I have have more Buffers open, and I have a split window with TagList
>>
>> and neerdTREE.
>>
>> How I can close the current buffer? ( Not change the Buffer with bu )
>>
>> When I try, close or q, then I closing the window, but I will only close
>>
>> the File and look on the other buffer.
>>
>> close or q, destroy my split window.
>>
>>
>>
>> I hope everyone, can help me. Thanks
> What do you want to happen when you "close" your buffer? What should show in its place?
>
> Does :bd do what you want? Or were you looking for something like :enew?
>
Thank you.
I wont, an empty buffer, like the first start of vim.
The solution by Marcin Szamotulski, was very helpfully.
"command! BD b # | bd #"
My logical error was, I closing the current Buffer.
--
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
Sunday, November 11, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment