Wednesday, October 27, 2010

Re: Deleting buffer and going to next

Martin Braun wrote:
> Hi vim-list,
>
> I was wondering if there's a way to concoct a command to
>
> - Delete the current buffer and
> - Move to the next
>
> without destroying my split layout.
>
> I guess what I really want to do is first move to the next buffer, and
> then delete the previous one (which is no longer displayed). However,
> I can't figure out a way to reference the previous buffer.
>
> Does anyone have a solution for this?
>
Why not just use

:n!

Regards,
Chip Campbell

--
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: