vim: file_directory: shorten /home/foo/ to ~foo

Replace "/home/foo/" with "~foo" (foo's home, not current user's).
This shortens paths like /home/www-data/foo/.