aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-make-sensible-decisions-on-which-pager-and-editor.patch
blob: b1a31359ab730ae1e2d63c7de3ea5f6783cca653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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'