about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorLeo Vivier <leo.vivier+dev@gmail.com>2019-07-24 10:27:24 +0200
committertoonn <toonn@toonn.io>2019-08-02 21:22:53 +0200
commit8de0bea04ad91e127ca333c78b2eaff340783578 (patch)
tree8e72d2ed1b66bb4ef96bc96d2ac99de15b8c44f0 /doc
parent49bbdf603c67da67b53992b68a1491600466351d (diff)
downloadranger-8de0bea04ad91e127ca333c78b2eaff340783578.tar.gz
Rephrase
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