Use function instead of alias for vi