* shellにPowerShellを設定する [#tb3e3c21]

*** .vimrc [#d17b00c3]
 if !has('unix')
 if has('win32')
   set shell=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
   set shellcmdflag=-c
   set shellquote=\"
   set shellxquote=
 endif

*** PSプロファイルを読み込まないプレーンなPowerShellを起動する場合 [#i9e0499d]

 if has('win32')
   set shell=powershell.exe
   set shellcmdflag=-noprofile\ -nologo\ -c
   set shellquote=\"
   set shellxquote=
   set shellpipe=|
   set shellredir=>
   set shellcmdflag=/c\ powershell.exe\ -NoLogo\ -NoProfile\ -NonInteractive\ -ExecutionPolicy\ RemoteSigned
 endif

** 参考 [#e44fb2aa]
http://stackoverflow.com/questions/94382/vim-with-powershell

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS