summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorAbdo Roig-Maranges <abdo.roig@gmail.com>2013-02-10 12:30:15 +0100
committerAbdo Roig-Maranges <abdo.roig@gmail.com>2013-02-12 12:08:44 +0100
commit470cf6795559fb8525e6d4e7cbe6c693e0004639 (patch)
tree432c62f50da39f0d429c2ce57c721692cb635176 /ranger
parent014fd772df3fdd505a595babc9e29e1398980527 (diff)
downloadranger-470cf6795559fb8525e6d4e7cbe6c693e0004639.tar.gz
Adds config settings and documentation for the vcs feature
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/rc.conf5
-rw-r--r--ranger/container/settingobject.py2
2 files changed, 7 insertions, 0 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index 5ca31038..bc9d89e8 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -43,6 +43,11 @@ set preview_script ~/.config/ranger/scope.sh
 # Use the external preview script or display simple plain text previews?
 set use_preview_script true
 
+# Be aware of version control systems and display information about their
+# state. Supported version control systems: git, mercurial, bzr.
+set vcs_aware false
+set vcs_backends git,hg
+
 # Preview images in full color with the external command "w3mimgpreview"?
 set preview_images false
 
diff --git a/ranger/container/settingobject.py b/ranger/container/settingobject.py
index 3e5c287f..c5148e6d 100644
--- a/ranger/container/settingobject.py
+++ b/ranger/container/settingobject.py
@@ -45,6 +45,8 @@ ALLOWED_SETTINGS = {
     'update_title': bool,
     'update_tmux_title': bool,
     'use_preview_script': bool,
+    'vcs_aware': bool,
+    'vcs_backends': list,
     'xterm_alt_key': bool,
 }