Quit vim when NERDTree or Calendar is last open window/tab
Quit vim when NERDTree or Calendar is last open window/tab

Solve a minor nuisance when using NERDTree or Calendar plugins in vim.
This can probably be optimized to a single expression, but I haven't
noticed a performance difference in practice yet.

kjhaber/dotfiles