Better shell function for vim