Microsoft’s Port 25 has a blog entry…
…pointing to an 8 page PDF with detailed instructions for installing a PowerShell Syntax file for the Vim editor. The paper also has a section discussing deal with digital signature code signing when editing PowerShell scripts using Vim.
You can find more information about PowerShell here.
This Vim/PowerShell document was written by Chris Travers who does his usual excellent job of explaining how to use Open Source tools in a Windows environment.
As an aside, as daily vi user, even I’m not sure why I prefer vi/vim to many fancier editors with all kind of features. I think it basically comes down to speed and finger muscle memory after all these decades of vi use :-)