Add this [modeline](http://vim.wikia.com/wiki/Modeline_magic) # vim: set noswapfile nobackup: to your text files with passwords.