diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-02-23 23:39:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-02-23 23:39:13 +0100 |
commit | 26df092843de91ea0c5c5c130d0d0695d2d81c07 (patch) | |
tree | a049c605f9dee06d777ad030b291ddf782cfcdb9 /runtime/doc/usr_42.txt | |
parent | 581966e8323c2bab6f9e54729708dc46de8f9fc5 (diff) | |
download | vim-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_42.txt')
-rw-r--r-- | runtime/doc/usr_42.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/usr_42.txt b/runtime/doc/usr_42.txt index a1cd533e2..1d16112aa 100644 --- a/runtime/doc/usr_42.txt +++ b/runtime/doc/usr_42.txt @@ -311,7 +311,7 @@ redefine what these items do (after the default menus are setup). item with a bitmap. For example, define a new toolbar item with: > :tmenu ToolBar.Compile Compile the current file - :amenu ToolBar.Compile :!cc % -o %:r<CR> + :amenu ToolBar.Compile :!cc %:S -o %:r:S<CR> Now you need to create the icon. For MS-Windows it must be in bitmap format, with the name "Compile.bmp". For Unix XPM format is used, the file name is |