summaryrefslogtreecommitdiffstats
path: root/debian/patches/ext_use_default_editor.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:13 +0000
commitb53c174e5d2eba47d82b05cb5787b183a0aadf84 (patch)
treed11ab04473fd36be6989c8a494a245fce8a80cbb /debian/patches/ext_use_default_editor.patch
parentAdding upstream version 3:4.8.29. (diff)
downloadmc-debian.tar.xz
mc-debian.zip
Adding debian version 3:4.8.29-2.debian/3%4.8.29-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/ext_use_default_editor.patch')
-rw-r--r--debian/patches/ext_use_default_editor.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/ext_use_default_editor.patch b/debian/patches/ext_use_default_editor.patch
new file mode 100644
index 0000000..1018b60
--- /dev/null
+++ b/debian/patches/ext_use_default_editor.patch
@@ -0,0 +1,18 @@
+Last-Update: 2013-04-03
+Author: Dmitry Smirnov <onlyjob@member.fsf.org>
+Forwarded: not-needed
+Description: Use default editor instead of vi
+
+--- a/misc/mc.ext.ini.in
++++ b/misc/mc.ext.ini.in
+@@ -1104,9 +1104,9 @@
+ Open=%cd %p/ucpio://
+ View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio
+
+ [Include/editor]
+-Open=%var{EDITOR:vi} %f
++Open=%var{EDITOR:editor} %f
+
+ [Include/image]
+ Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
+ View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS