Vim with Powershell

后端 未结 12 460
梦毁少年i
梦毁少年i 2020-12-07 12:42

I\'m using gvim on Windows.

In my _vimrc I\'ve added:

set shell=powershell.exe
set shellcmdflag=-c
set shellpipe=>
set shellredir=>

function!          


        
12条回答
  •  温柔的废话
    2020-12-07 13:01

    Try replacing

    "dir \*vim\*"
    

    with

     " -command { dir \*vim\* }"
    

    EDIT: Try using cmd.exe as the shell and put "powershell.exe" before "-command"

提交回复
热议问题