参考:http://stackoverflow.com/questions/1098159/vim-stop-existing-swap-file-warnings

在 .vimrc 里追加下面一行即可:

set shortmess+=A



:help shortmess:

A don't give the "ATTENTION" message when an existing swap file is found.