about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAbdó Roig-Maranges <abdo.roig@gmail.com>2012-12-06 14:19:45 +0100
committerhut <hut@lavabit.com>2012-12-09 15:16:47 +0100
commita279353c64008a60092fe13638ef67a3da1fc1ef (patch)
tree9bd42269d4f5483f44820e46b28d90579a9184a3 /doc
parent864331a0edd73b364c22985bbb1aa7f55dcf25f4 (diff)
downloadranger-a279353c64008a60092fe13638ef67a3da1fc1ef.tar.gz
added setlocal command to handle local settings
Diffstat (limited to 'doc')
-rw-r--r--doc/ranger.110
-rw-r--r--doc/ranger.pod7
2 files changed, 15 insertions, 2 deletions
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=<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:  <http://ranger.nongnu.org/ranger-stable.tar.gz>" 4
-.IX Item "Download: <http://ranger.nongnu.org/ranger-stable.tar.gz>"
+.IP "Download: http://ranger.nongnu.org/ranger\-stable.tar.gz <http://ranger.nongnu.org/ranger-stable.tar.gz>" 4
+.IX Item "Download: http://ranger.nongnu.org/ranger-stable.tar.gz <http://ranger.nongnu.org/ranger-stable.tar.gz>"
 .PD 0
 .IP "The project page: <http://ranger.nongnu.org/>" 4
 .IX Item "The project page: <http://ranger.nongnu.org/>"
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=<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<path>] I<option> I<value>
+
+Assigns a new value to an option, but locally for the directory given by
+I<path>. This means, that this option only takes effect when visiting that
+directory. If no path is given, uses the current directory.
+   
 =item shell [-I<flags>] I<command>
 
 Run a shell command.  I<flags> are discussed in their own section.