From 470cf6795559fb8525e6d4e7cbe6c693e0004639 Mon Sep 17 00:00:00 2001 From: Abdo Roig-Maranges Date: Sun, 10 Feb 2013 12:30:15 +0100 Subject: Adds config settings and documentation for the vcs feature --- doc/ranger.pod | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/ranger.pod b/doc/ranger.pod index a06bc6ca..c388aaf7 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -690,6 +690,15 @@ Set the title to "ranger" in the tmux program? Use the preview script defined in the setting I? +=item vcs_aware [bool] + +Gather and display data about version control systems. Supported vcs: git, hg. + +=item vcs_backends [list] + +List of vcs backends to use. By default it is ['git', 'hg'], but can be set to +handle only 'git' repositories, for example. + =item xterm_alt_key [bool] Enable this if key combinations with the Alt Key don't work for you. -- cgit 1.4.1-2-gfad0 From 350964409e1e40bc17353ca6e962a636293c48e8 Mon Sep 17 00:00:00 2001 From: Abdo Roig-Maranges Date: Sun, 10 Feb 2013 12:37:22 +0100 Subject: Rebuilt manpage --- doc/ranger.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index 0deac56e..2a8caf47 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.5.5" "01/01/2013" "ranger manual" +.TH RANGER 1 "ranger-1.5.5" "02/10/2013" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -684,6 +684,13 @@ Set the title to \*(L"ranger\*(R" in the tmux program? .IP "use_preview_script [bool] " 4 .IX Item "use_preview_script [bool] " Use the preview script defined in the setting \fIpreview_script\fR? +.IP "vcs_aware [bool]" 4 +.IX Item "vcs_aware [bool]" +Gather and display data about version control systems. Supported vcs: git, hg. +.IP "vcs_backends [list]" 4 +.IX Item "vcs_backends [list]" +List of vcs backends to use. By default it is ['git', 'hg'], but can be set to +handle only 'git' repositories, for example. .IP "xterm_alt_key [bool]" 4 .IX Item "xterm_alt_key [bool]" Enable this if key combinations with the Alt Key don't work for you. -- cgit 1.4.1-2-gfad0 From 95bca173ce92294f31c052555b78938626f3c120 Mon Sep 17 00:00:00 2001 From: Abdo Roig-Maranges Date: Sun, 17 Feb 2013 18:31:29 +0100 Subject: document config options for vcs on the man page --- doc/ranger.1 | 15 ++++++++++----- doc/ranger.pod | 9 ++++++--- 2 files changed, 16 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index 2a8caf47..acaca462 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.5.5" "02/10/2013" "ranger manual" +.TH RANGER 1 "ranger-1.5.5" "02/17/2013" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -687,10 +687,15 @@ Use the preview script defined in the setting \fIpreview_script\fR? .IP "vcs_aware [bool]" 4 .IX Item "vcs_aware [bool]" Gather and display data about version control systems. Supported vcs: git, hg. -.IP "vcs_backends [list]" 4 -.IX Item "vcs_backends [list]" -List of vcs backends to use. By default it is ['git', 'hg'], but can be set to -handle only 'git' repositories, for example. +.IP "vcs_backend_git, vcs_backend_hg, vcs_backend_bzr [string]" 4 +.IX Item "vcs_backend_git, vcs_backend_hg, vcs_backend_bzr [string]" +Sets the state for the version control backend. The possible values are: +.Sp +.Vb 3 +\& disabled don\*(Aqt display any information. +\& local display only local state. +\& enabled display both, local and remote state. May be slow for hg and bzr. +.Ve .IP "xterm_alt_key [bool]" 4 .IX Item "xterm_alt_key [bool]" Enable this if key combinations with the Alt Key don't work for you. diff --git a/doc/ranger.pod b/doc/ranger.pod index c388aaf7..246dd4ab 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -694,10 +694,13 @@ Use the preview script defined in the setting I? Gather and display data about version control systems. Supported vcs: git, hg. -=item vcs_backends [list] +=item vcs_backend_git, vcs_backend_hg, vcs_backend_bzr [string] -List of vcs backends to use. By default it is ['git', 'hg'], but can be set to -handle only 'git' repositories, for example. +Sets the state for the version control backend. The possible values are: + + disabled don't display any information. + local display only local state. + enabled display both, local and remote state. May be slow for hg and bzr. =item xterm_alt_key [bool] -- cgit 1.4.1-2-gfad0