Wednesday, October 27, 2010

Deleting buffer and going to next

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?

Thanks a lot in advance,
Martin

--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-3790
Fax: +49 721 608-6071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

No comments:

Post a Comment