Quit Vim when closing focused buffer.

Fix a bug causing key binding not to be executed.