comparison runtime/doc/os_win32.txt @ 8440:4c6ad81d41fe

commit https://github.com/vim/vim/commit/5f148ec0b5a6cedd9129b3abac351034b83cc4f7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 7 22:59:26 2016 +0100 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Mon, 07 Mar 2016 23:00:08 +0100
parents bd18da914be9
children 43efa4f5a8ea
comparison
equal deleted inserted replaced
8439:e2c8b6671ec0 8440:4c6ad81d41fe
1 *os_win32.txt* For Vim version 7.4. Last change: 2014 Sep 25 1 *os_win32.txt* For Vim version 7.4. Last change: 2016 Mar 05
2 2
3 3
4 VIM REFERENCE MANUAL by George Reilly 4 VIM REFERENCE MANUAL by George Reilly
5 5
6 6
93 $PATH *win32-PATH* 93 $PATH *win32-PATH*
94 94
95 The directory of the Vim executable is appended to $PATH. This is mostly to 95 The directory of the Vim executable is appended to $PATH. This is mostly to
96 make "!xxd" work, as it is in the Tools menu. And it also means that when 96 make "!xxd" work, as it is in the Tools menu. And it also means that when
97 executable() returns 1 the executable can actually be executed. 97 executable() returns 1 the executable can actually be executed.
98
99 Quotes in file names *win32-quotes*
100
101 Quotes inside a file name (or any other command line argument) can be escaped
102 with a backslash. E.g. >
103 vim -c "echo 'foo\"bar'"
104
105 Alternatively use three quotes to get one: >
106 vim -c "echo 'foo"""bar'"
107
108 The quotation rules are:
109
110 1. A `"` starts quotation.
111 2. Another `"` or `""` ends quotation. If the quotation ends with `""`, a `"`
112 is produced at the end of the quoted string.
113
114 Examples, with [] around an argument:
115 "foo" -> [foo]
116 "foo"" -> [foo"]
117 "foo"bar -> [foobar]
118 "foo" bar -> [foo], [bar]
119 "foo""bar -> [foo"bar]
120 "foo"" bar -> [foo"], [bar]
121 "foo"""bar" -> [foo"bar]
122
98 123
99 ============================================================================== 124 ==============================================================================
100 3. Restore screen contents *win32-restore* 125 3. Restore screen contents *win32-restore*
101 126
102 When 'restorescreen' is set (which is the default), Vim will restore the 127 When 'restorescreen' is set (which is the default), Vim will restore the