Use Atom as terminal Editor

Hi,

is it possible to use Atom as editor for the OsX terminal like Vi/Vim or Nano?
And I don’t want to use The Atom terminal. normally i use iTerm as my terminal.

Cheers,
Jan

Wouldn’t you just set the EDITOR environment variable?

Jason

Hi,
how can I do that or what is the editor enviroment variable?

Jan

Technically, VISUAL is probably the correct variable, but I usually set both, VISUAL and EDITOR (which might be completely unnecessary!)

@JanStieler Apart from that, it would be helpful if you posted at least one example of what you want to achieve? Your initial question is a bit confusing.