On Saturday, March 10, 2012 1:07:05 PM UTC-6, ChaN Wu wrote:
> OS: Windows 7
> Vim: 7.3
> 
> When we try to include file in HTML file, such as CSS file or JS file, for 
> example:
> 
> <script src="js/path/abc.jc"></script>
> 
> We use slash to separate the folder, but in vim, it change to backslash, in 
> some browser such as Firefox will become an invalid path, can I fix it by 
> revise any property?
> 
> http://imm.io/ityl

You can probably set shellslash to fix this, but be aware shellslash does weird 
things on Windows sometimes. If you call an external command, or use any 
plugins which do, you may notice unintended behavior. Specifically, setting 
shellslash on Windows makes the shellescape() function do the wrong thing, and 
also some external commands (notably: copy, dir, and sometimes cd) do not like 
forward slashes.

-- 
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

Reply via email to