Commit Diff


commit - 47cb6f8b62ed4ad39838a5d4702f593b23d3e7f2
commit + 5a53ca9d31c0ec26e10887fb404d63242df55002
blob - 06d9ba522ae0001bd8bb697df46c9c952023dd09
blob + 9cb98acdc62c43c067586b46563120f212d7a179
--- got/got.1
+++ got/got.1
@@ -3200,10 +3200,8 @@ The editor spawned by
 or
 .Cm got tag .
 If not set, the
-.Xr ed 1
-text editor will be spawned in order to give
-.Xr ed 1
-the attention it deserves.
+.Xr vi 1
+text editor will be spawned.
 .El
 .Sh FILES
 .Bl -tag -width packed-refs -compact
blob - 444d5de08500b51329793ef39b77c389e8f53995
blob + 12888ebef79dc5158a60dc84040568b2415f83d6
--- got/got.c
+++ got/got.c
@@ -308,7 +308,7 @@ get_editor(char **abspath)
 	}
 
 	if (*abspath == NULL) {
-		*abspath = strdup("/bin/ed");
+		*abspath = strdup("/usr/bin/vi");
 		if (*abspath == NULL)
 			return got_error_from_errno("strdup");
 	}