Completion: simplify move_cursor() (not finished)