aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch
diff options
context:
space:
mode:
authorvg <vg@devys.org>2018-02-02 11:59:34 +0000
committervg <vg@devys.org>2018-02-02 11:59:34 +0000
commitee08f867271adc4a90dae05a5b5fe9372d8fb4d8 (patch)
treee8a85891c1ae018efbc764c9d43bb649e297019f /debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch
parentf7f97ca30f11dfc5c03aa6b2950ded79de225217 (diff)
downloaddebian-ranger-ee08f867271adc4a90dae05a5b5fe9372d8fb4d8.tar.gz
debian-ranger-ee08f867271adc4a90dae05a5b5fe9372d8fb4d8.tar.bz2
debian-ranger-ee08f867271adc4a90dae05a5b5fe9372d8fb4d8.zip
add debian package files, adapted from original debian package for ranger 1.8
Diffstat (limited to 'debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch')
-rw-r--r--debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch b/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch
new file mode 100644
index 0000000..b1a3135
--- /dev/null
+++ b/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch
@@ -0,0 +1,16 @@
+From: Vern Sun <s5unty@gmail.com>
+Date: Thu, 6 Mar 2014 14:13:36 +0800
+Subject: make sensible decisions on which pager and editor
+Forwarded: yes
+
+--- a/ranger/ext/rifle.py
++++ b/ranger/ext/rifle.py
+@@ -23,7 +23,7 @@ __version__ = 'rifle 1.8.1'
+
+ # Options and constants that a user might want to change:
+ DEFAULT_PAGER = 'less'
+-DEFAULT_EDITOR = 'vim'
++DEFAULT_EDITOR = 'sensible-editor'
+ ASK_COMMAND = 'ask'
+ ENCODING = 'utf-8'
+