Moves cursor after the var on insertion