Use subscribeToCommmand for editor view commands

Closes #39