summaryrefslogtreecommitdiff
path: root/runtime/doc/usr_40.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-02-23 23:39:13 +0100
committerBram Moolenaar <Bram@vim.org>2014-02-23 23:39:13 +0100
commit26df092843de91ea0c5c5c130d0d0695d2d81c07 (patch)
treea049c605f9dee06d777ad030b291ddf782cfcdb9 /runtime/doc/usr_40.txt
parent581966e8323c2bab6f9e54729708dc46de8f9fc5 (diff)
downloadvim-git-26df092843de91ea0c5c5c130d0d0695d2d81c07.tar.gz
updated for version 7.4.191v7.4.191
Problem: Escaping a file name for shell commands can't be done without a function. Solution: Add the :S file name modifier.
Diffstat (limited to 'runtime/doc/usr_40.txt')
-rw-r--r--runtime/doc/usr_40.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/usr_40.txt b/runtime/doc/usr_40.txt
index b1108a5c3..9d706481d 100644
--- a/runtime/doc/usr_40.txt
+++ b/runtime/doc/usr_40.txt
@@ -209,7 +209,7 @@ The ":map" command can be followed by another command. A | character
separates the two commands. This also means that a | character can't be used
inside a map command. To include one, use <Bar> (five characters). Example:
>
- :map <F8> :write <Bar> !checkin %<CR>
+ :map <F8> :write <Bar> !checkin %:S<CR>
The same problem applies to the ":unmap" command, with the addition that you
have to watch out for trailing white space. These two commands are different: