Added mapping to close buffer without losing splits