Close all but he last windows in gvim


Sometimes I want to close all windows and start from the scratch. Shortcut :qa do this but too much literally: it closes vim too. So to avoid this I wrote this snippet.

You need just to add it to your vimrc file.