1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10sensible_editor.dpatch by <timo.schneider@s2004.tu-chemnitz.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Use sensible-editor instead of vim as editor
@DPATCH@
--- a/crip
+++ b/crip
@@ -71,7 +71,7 @@
$editnames = "on";
# Your favorite editor for editing filenames and tag files
-$editor = "vim";
+$editor = "sensible-editor";
# Default contact information (put YOUR e-mail address here!)
# Remember to escape the '@' (by putting a '\' before it).
--- a/editcomment
+++ b/editcomment
@@ -3,7 +3,7 @@
# Supports both .ogg and .flac files.
# Put preferred editor here
-$editor = "vim";
+$editor = "sensible-editor";
$file = $ARGV[0];
--- a/editfilenames
+++ b/editfilenames
@@ -4,7 +4,7 @@
#
# Put preferred editor here
-$editor = "vim";
+$editor = "sensible-editor";
# Temporary filename
$tmpfile = "/tmp/filelist.txt";
|