Close buffer and unsplit view

From: HyperHacker <>
Date: Wed, 22 Feb 2012 01:03:31 -0700

I'm trying to make a hotkey to close the current buffer and then
unsplit the view. This seems simple enough:

keys['csw'] = function() view.buffer:close() view:unsplit() end

But what that ends up doing is closing *all* buffers and not
unsplitting the view at all! Why is this?

Sent from my toaster.
Received on Wed 22 Feb 2012 - 03:03:31 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:31:34 EST