diff --git a/src/command-line/config.js b/src/command-line/config.js index 2385ef87..4080ff8f 100644 --- a/src/command-line/config.js +++ b/src/command-line/config.js @@ -10,7 +10,7 @@ program .description("Edit config: '" + Helper.HOME + "/config.js'") .action(function() { child.spawn( - "vi", + process.env.EDITOR || "vi", [Helper.HOME + "/config.js"], {stdio: "inherit"} );