about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorLeo Vivier <leo.vivier+dev@gmail.com>2019-07-23 16:05:23 +0200
committertoonn <toonn@toonn.io>2019-08-02 21:22:53 +0200
commit49bbdf603c67da67b53992b68a1491600466351d (patch)
treeebfb78d4a8fc20ec288df623cee92ea2abddb119
parent669100aad83e3a51f140b6085d836a8260eda8d0 (diff)
downloadranger-49bbdf603c67da67b53992b68a1491600466351d.tar.gz
doc: Mention necessary macro escaping for chain
-rw-r--r--doc/ranger.14
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index 5a29f6e1..847ba310 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -432,6 +432,10 @@ the end of a command when needed, while preventing editors to strip spaces off
 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.
 .SS "\s-1BOOKMARKS\s0"
 .IX Subsection "BOOKMARKS"
 Type \fBm<key>\fR to bookmark the current directory. You can re-enter this