Install vim-autoclose plugin