Lokaltog/powerline — pull request #115 by blueyed (2013-01-23 22:47:40+00:00)
Title: 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/.