Close all but he last windows in gvim

August 13, 2017 1 minute

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.

comments powered by Disqus