Added function for installing vim
Better detection of home dir