add a /edit command to run editor on buffer