Files
termux-packages/packages/moar/default-editor.patch
2025-06-30 02:42:29 +00:00

13 lines
393 B
Diff

diff --git a/m/editor.go b/m/editor.go
index 1b7ae8b..1d671c4 100644
--- a/m/editor.go
+++ b/m/editor.go
@@ -83,6 +83,7 @@ func pickAnEditor() (string, string, error) {
}
candidates := []string{
+ "editor", // [PATCH] Termux: default to `editor` to let `update-alternatives` choose
"vim", // This is a sucky default, but let's have it for compatibility with less
"nano",
"vi",