use global EDITOR variable instead of hard-coded subl