How to set editor for snap package?

How do I change the editor in the snap package from vi to either nano or micro? Right now I have to preface all my lxc commands with EDITOR=$(which nano)

See lxc - Change default editor in LXD snap - Ask Ubuntu

1 Like