added vim functions