Vim prog: functions