comparison runtime/doc/usr_40.txt @ 5690:40f18a1c1592 v7.4.191

updated for version 7.4.191 Problem: Escaping a file name for shell commands can't be done without a function. Solution: Add the :S file name modifier.
author Bram Moolenaar <bram@vim.org>
date Sun, 23 Feb 2014 23:39:13 +0100
parents 359743c1f59a
children 9f48eab77d62
comparison
equal deleted inserted replaced
5689:41fa1a18bc2e 5690:40f18a1c1592
207 207
208 The ":map" command can be followed by another command. A | character 208 The ":map" command can be followed by another command. A | character
209 separates the two commands. This also means that a | character can't be used 209 separates the two commands. This also means that a | character can't be used
210 inside a map command. To include one, use <Bar> (five characters). Example: 210 inside a map command. To include one, use <Bar> (five characters). Example:
211 > 211 >
212 :map <F8> :write <Bar> !checkin %<CR> 212 :map <F8> :write <Bar> !checkin %:S<CR>
213 213
214 The same problem applies to the ":unmap" command, with the addition that you 214 The same problem applies to the ":unmap" command, with the addition that you
215 have to watch out for trailing white space. These two commands are different: 215 have to watch out for trailing white space. These two commands are different:
216 > 216 >
217 :unmap a | unmap b 217 :unmap a | unmap b