summaryrefslogtreecommitdiff
path: root/runtime/doc/os_win32.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-07 22:59:26 +0100
committerBram Moolenaar <Bram@vim.org>2016-03-07 22:59:26 +0100
commit5f148ec0b5a6cedd9129b3abac351034b83cc4f7 (patch)
tree6c8cd33010252ad1b9dad2ee1a95ab4571ab1ee4 /runtime/doc/os_win32.txt
parent304563c0b3e24895322ce3a29378388665b4769b (diff)
downloadvim-git-5f148ec0b5a6cedd9129b3abac351034b83cc4f7.tar.gz
Update runtime files.
Diffstat (limited to 'runtime/doc/os_win32.txt')
-rw-r--r--runtime/doc/os_win32.txt27
1 files changed, 26 insertions, 1 deletions
diff --git a/runtime/doc/os_win32.txt b/runtime/doc/os_win32.txt
index 9637d7e82..f60cb0383 100644
--- a/runtime/doc/os_win32.txt
+++ b/runtime/doc/os_win32.txt
@@ -1,4 +1,4 @@
-*os_win32.txt* For Vim version 7.4. Last change: 2014 Sep 25
+*os_win32.txt* For Vim version 7.4. Last change: 2016 Mar 05
VIM REFERENCE MANUAL by George Reilly
@@ -96,6 +96,31 @@ The directory of the Vim executable is appended to $PATH. This is mostly to
make "!xxd" work, as it is in the Tools menu. And it also means that when
executable() returns 1 the executable can actually be executed.
+Quotes in file names *win32-quotes*
+
+Quotes inside a file name (or any other command line argument) can be escaped
+with a backslash. E.g. >
+ vim -c "echo 'foo\"bar'"
+
+Alternatively use three quotes to get one: >
+ vim -c "echo 'foo"""bar'"
+
+The quotation rules are:
+
+1. A `"` starts quotation.
+2. Another `"` or `""` ends quotation. If the quotation ends with `""`, a `"`
+ is produced at the end of the quoted string.
+
+Examples, with [] around an argument:
+ "foo" -> [foo]
+ "foo"" -> [foo"]
+ "foo"bar -> [foobar]
+ "foo" bar -> [foo], [bar]
+ "foo""bar -> [foo"bar]
+ "foo"" bar -> [foo"], [bar]
+ "foo"""bar" -> [foo"bar]
+
+
==============================================================================
3. Restore screen contents *win32-restore*