Am 11.11.2012 01:48, schrieb Marcin Szamotulski:
> On 13:42 Sat 10 Nov , sc wrote:
>> On Sat, Nov 10, 2012 at 03:38:45PM +0100, 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 have a simple command defined in my .vimrc for this purpose:
>>
>> command! BD b # | bd #
>>
>> should do what you want
>>
>> sc
>>
>> --
>> 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
> There is also the BufClose plugin:
> http://www.vim.org/scripts/script.php?script_id=559
> by Christian Robinson.
>
> Best,
> Marcin
>
Thank`s a lot.
My mistakes was, every time I delete the curred buffer.
I'm understand your command. Your change the Puffer, to the last edited
Buffer, with b #.
And then your delete the last edited Buffer with bd #.
This is exactly, what I wont. I learned, sometimes you must make a detour.
Best regards,
Michael
--
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