summary refs log tree commit diff stats
path: root/doc/ranger.pod
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-04-10 00:12:46 +0200
committerhut <hut@lepus.uberspace.de>2015-04-10 00:12:46 +0200
commit3160c4a7ebedf85c068baa4bae6747cafc123d4b (patch)
tree699d118413b5fb41a599bc5dda4db589076f1476 /doc/ranger.pod
parentfabab01bda21868be0d47e053c65b48a9102b820 (diff)
downloadranger-3160c4a7ebedf85c068baa4bae6747cafc123d4b.tar.gz
ranger.1: added documentation for %rangerdir and %space macros
Diffstat (limited to 'doc/ranger.pod')
-rw-r--r--doc/ranger.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ranger.pod b/doc/ranger.pod
index a6204403..ad75f35a 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -218,6 +218,14 @@ Additionally, if you create a key binding that uses <any>, a special statement
 which accepts any key, then the macro %any (or %any0, %any1, %any2, ...) can be
 used in the command to get the key that was pressed.
 
+The macro %rangerdir expands to the directory of ranger's python library, you
+can use it for something like this command:
+  alias show_commands shell less %rangerdir/config/commands.py
+
+The macro %space expands to a space character. You can use it to add spaces to
+the end of a command when needed, while preventing editors to strip spaces off
+the end of the line automatically.
+
 =head2 BOOKMARKS
 
 Type B<m<keyE<gt>> to bookmark the current directory. You can re-enter this