Add editor call

Adds the Editor call and defaults to either the environment editor or VI.

@theneikos please review.