set cursor on yaml