added editor and some of Brett Terpstra's commands