diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-02-24 02:51:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-02-24 02:51:51 +0100 |
commit | 251835e14f6fb4134a041c2ba9d3e7b84b783e86 (patch) | |
tree | 7cde7fafc2eb2735e0491f7fc085f27320b07d6e /runtime/doc/cmdline.txt | |
parent | 26df092843de91ea0c5c5c130d0d0695d2d81c07 (diff) | |
download | vim-git-251835e14f6fb4134a041c2ba9d3e7b84b783e86.tar.gz |
Update runtime files. Add Euphoria syntax files.
Diffstat (limited to 'runtime/doc/cmdline.txt')
-rw-r--r-- | runtime/doc/cmdline.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index 9d7c5f56f..f58389af8 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 7.4. Last change: 2013 Nov 25 +*cmdline.txt* For Vim version 7.4. Last change: 2014 Feb 23 VIM REFERENCE MANUAL by Bram Moolenaar @@ -824,8 +824,8 @@ Note: these are typed literally, they are not special keys! the start of the function. *filename-modifiers* - *:_%:* *::8* *::p* *::.* *::~* *::h* *::t* *::r* *::e* *::s* *::gs* - *%:8* *%:p* *%:.* *%:~* *%:h* *%:t* *%:r* *%:e* *%:s* *%:gs* +*:_%:* *::8* *::p* *::.* *::~* *::h* *::t* *::r* *::e* *::s* *::gs* *::S* + *%:8* *%:p* *%:.* *%:~* *%:h* *%:t* *%:r* *%:e* *%:s* *%:gs* *%:S* The file name modifiers can be used after "%", "#", "#n", "<cfile>", "<sfile>", "<afile>" or "<abuf>". They are also used with the |fnamemodify()| function. These are not available when Vim has been compiled without the |+modify_fname| @@ -880,6 +880,10 @@ These modifiers can be given, in this order: :gs?pat?sub? Substitute all occurrences of "pat" with "sub". Otherwise this works like ":s". + :S Escape special characters for use with a shell command (see + |shellescape()|). Must be the last one. Examples: > + :!dir <cfile>:S + :call system('chmod +w -- ' . expand('%:S')) Examples, when the file name is "src/version.c", current dir "/home/mool/vim": > |