Set relative number and undo file