about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/config.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/config.toml b/res/config.toml
index c7d54aed..3ace21bd 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -238,7 +238,7 @@ urimethodmap = [
 	"/usr/local/etc/w3m/urimethodmap"
 ]
 tmpdir = "/tmp/cha"
-editor = "vi %s +%d"
+editor = "${EDITOR:-vi +%d %s}"
 cgi-dir = "${%CHA_LIBEXEC_DIR}/cgi-bin"
 download-dir = "/tmp/"
 w3m-cgi-compat = false