Allow to specify default editor by using configuration file, command

arguments or environment variable