summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-22 01:09:35 +0100
committerhut <hut@lavabit.com>2013-02-22 01:09:35 +0100
commit90de80a0ed43d359edb1bf21eeaf3728f722d73a (patch)
treeee2176528418f3925b17a209d1c7f4cc901bf316 /doc
parent37e6eb4551e312d75d1e6ca06e8a8f4c27fb6224 (diff)
downloadranger-90de80a0ed43d359edb1bf21eeaf3728f722d73a.tar.gz
doc/ranger.1: added chmod key bindings to man page
Diffstat (limited to 'doc')
-rw-r--r--doc/ranger.14
-rw-r--r--doc/ranger.pod5
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index 24a522f1..e7ab2e58 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -413,6 +413,10 @@ Edit the current file in \f(CW$EDITOR\fR (\*(L"nano\*(R" by default)
 Open a shell in the current directory
 .IP "?" 14
 Opens this man page
+.IP "<octal>=, +<who><what>, \-<who><what>" 14
+.IX Item "<octal>=, +<who><what>, -<who><what>"
+Change the permissions of the selection.  For example, \f(CW\*(C`777=\*(C'\fR is equivalent to
+\&\f(CW\*(C`chmod 777 %s\*(C'\fR, \f(CW\*(C`+ar\*(C'\fR does \f(CW\*(C`chmod a+r %s\*(C'\fR, \f(CW\*(C`\-ow\*(C'\fR does \f(CW\*(C`chmod o\-w %s\*(C'\fR etc.
 .IP "yy" 14
 .IX Item "yy"
 Copy (yank) the selection, like pressing Ctrl+C in modern \s-1GUI\s0 programs.
diff --git a/doc/ranger.pod b/doc/ranger.pod
index 5f70c968..d31150c5 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -331,6 +331,11 @@ Open a shell in the current directory
 
 Opens this man page
 
+=item <octal>=, +<who><what>, -<who><what>
+
+Change the permissions of the selection.  For example, C<777=> is equivalent to
+C<chmod 777 %s>, C<+ar> does C<chmod a+r %s>, C<-ow> does C<chmod o-w %s> etc.
+
 =item yy
 
 Copy (yank) the selection, like pressing Ctrl+C in modern GUI programs.