aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch
diff options
context:
space:
mode:
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'
+