From a279353c64008a60092fe13638ef67a3da1fc1ef Mon Sep 17 00:00:00 2001 From: Abdó Roig-Maranges Date: Thu, 6 Dec 2012 14:19:45 +0100 Subject: added setlocal command to handle local settings --- doc/ranger.1 | 10 ++++++++-- doc/ranger.pod | 7 +++++++ 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index 194b81b6..c0cf6b1f 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -726,6 +726,7 @@ ranger. For your convenience, this is a list of the \*(L"public\*(R" commands i \& search pattern \& search_inc pattern \& set option value +\& setlocal [path=] option value \& shell [\-FLAGS] command \& terminal \& tmap key command @@ -908,6 +909,11 @@ doesn't work for functions and regular expressions. Valid values are: \& list | 1,2,3,4 \& none | none .Ve +.IP "setlocal [path=\fIpath\fR] \fIoption\fR \fIvalue\fR" 2 +.IX Item "setlocal [path=path] option value" +Assigns a new value to an option, but locally for the directory given by +\&\fIpath\fR. This means, that this option only takes effect when visiting that +directory. If no path is given, uses the current directory. .IP "shell [\-\fIflags\fR] \fIcommand\fR" 2 .IX Item "shell [-flags] command" Run a shell command. \fIflags\fR are discussed in their own section. @@ -1034,8 +1040,8 @@ that is provided along with the source code. \&\s-1GNU\s0 General Public License 3 or (at your option) any later version. .SH "LINKS" .IX Header "LINKS" -.IP "Download: " 4 -.IX Item "Download: " +.IP "Download: http://ranger.nongnu.org/ranger\-stable.tar.gz " 4 +.IX Item "Download: http://ranger.nongnu.org/ranger-stable.tar.gz " .PD 0 .IP "The project page: " 4 .IX Item "The project page: " diff --git a/doc/ranger.pod b/doc/ranger.pod index e240771e..366e0bdc 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -734,6 +734,7 @@ ranger. For your convenience, this is a list of the "public" commands including search pattern search_inc pattern set option value + setlocal [path=] option value shell [-FLAGS] command terminal tmap key command @@ -949,6 +950,12 @@ doesn't work for functions and regular expressions. Valid values are: list | 1,2,3,4 none | none +=item setlocal [path=I] I