about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ranger.19
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index 847ba310..7d90fff4 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -433,9 +433,12 @@ the end of the line automatically.
 .PP
 To write a literal %, you need to escape it by writing %%.
 .PP
-If you want to add spaces to a command that is chained with a chain command, you have
-to escape %space, so you would use %%space.  This is to prevent the chain command
-from expanding the macros in its argument.
+For adding a space character after a chained command, you also need to escape % by
+writing %% instead:
+ chain command1 %%space; command2
+This is because the chain command is a macro-expanding command itself. In the
+previous example, chain expands %%space to %space, which is then expanded to the
+space character by command1.
 .SS "\s-1BOOKMARKS\s0"
 .IX Subsection "BOOKMARKS"
 Type \fBm<key>\fR to bookmark the current directory. You can re-enter this