David Trimboli wrote:
[Quoted Text] > No doubt the PowerShell folks will think this is a Vim question, and the > Vim folks will think this is a PowerShell question. > > When I try to edit a file with Vim 7.1 from Windows PowerShell, Vim > seems to require a full path to the file. For instance, if I'm in "H:\My > Documents\WindowsPowerShell" and I type "vim profile.ps1" or even "vim > .\profile.ps1" I find myself editing "H:\profile.ps1". > > This behavior is apparently unique to PowerShell; in CMD and CSH Vim > lets me use relative paths the way one would expect. Is there a way to > adjust Vim (or PowerShell!) to let me use relative paths when calling > Vim from PowerShell?
Well repeat your example above - but now once vim has started call Vims ":pwd" command. The output should be "H:\My Documents\WindowsPowerShell" ! If not them powershell just might be powerfull but it certainly is not propper shell.
Martin -- mailto://krischik[ at ]users.sourceforge.net Ada programming at: http://ada.krischik.com
|