set editor and played with the right_prompt