use vim-auto-save plugin