Saturday, October 30, 2010

Re: Deleting buffer and going to next

On Sat, Oct 30, 2010 at 11:21 AM, Scott Bronson <bronson@rinspin.com> wrote:
> On Wed, Oct 27, 2010 at 3:44 AM, Martin Braun <martin.braun@kit.edu> wrote:
>> 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 use this: http://github.com/bronson/vim-closebuffer
>
> Copy into your vimrc (or use pathogen), then hit ^W ^E to close the
> buffer without affecting your splits.

I should have mentioned that this is just the script on the wikia page
updated slightly and with (IMO) a better keybinding. I'd love to see it
integrated into vim one day -- it seems an obvious missing feature!

- Scott

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