On 07/08/10 07:31, just wrote:
2010/8/7 Jeri Raye <[email protected] <mailto:[email protected]>>
Hi,
I would like add a path in a setting
for example:
set tags=c:\my projects\test\tags
(notice the space char between my and projects)
You can use the two methods to setting
1>set tags="c:\my projects\test\tags"
2>set tags=c:\my~1\test\tags
Hm, #1 won't work, because spaces and double-quotes (also backslashes
and vertical bars) must be backslash-escaped in an option value, see
":help option-backslash"). Try either
set tags=C:/my\ projects/test/tags
or
set tags=C:/my\\ projects/test/tags
or
set tags=\"C:/my\ projects/test/tags\"
(I'm not sure which will work)
and #2 won't work either, because it is not the correct 8.3 name. It
should be something like
set tags=C:/MYPROJ~1/test/tags
(Vim for Windows will usually accept either / or \ as path separators.)
Best regards,
Tony.
--
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php