Remove redundant vim function