`vi` is a fine default for Unix-like systems but you should check for Windows (`RbConfig::CONFIG['host_os'] =~ /mswin|mingw/`) and default to `notepad` in this case.