【参考1】http://www.wowotech.net/soft/vim_in_powershell.htmlphp
【参考2】http://www.javashuo.com/article/p-nwysqmfx-em.htmlhtml
【参考3】http://www.mitgai.net/2016/04/windows/setup-vim-to-work-with-powershell.htmlshell
Set-ExecutionPolicy RemoteSigned
命令,输入 Y 回车new-item -path $profile -itemtype file -force
set-alias vim "C:/Program Files/Vim/vim81/vim.exe" #注意安装路径要用本身的 # To edit the Powershell Profile # (Not that I'll remember this) Function Edit-Profile { vim $profile } # To edit Vim settings Function Edit-Vimrc { vim $HOME\_vimrc }