Le samedi 13 décembre 2014 20:23:22 UTC+1, Enno a écrit :
> To use Vim under powershell in MS Windows, set &shell=powershell and 
> &shellcmdflag=-c.
> 
> However, if &shell=powershell and &shellcmdflag=-c, then tempname() returns a 
> file name with forward slashes because 'powershell' contains 'sh' and '-c' 
> starts with '-'.
> 
> Then again, if instead &shellcmdflag=\ -c, that is, a leading space is added, 
> then tempname() uses backward slashes. 
> 
> Because powershell expects backward slashes, the second setup is better but 
> also less intuitive. How about a note in the documentation of &shellcmdflag?

The standard behavior seems to have confused other Vim users as well, as shows 
the thread 

https://stackoverflow.com/questions/94382/vim-with-powershell

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui