我在
Windows 7机器上,我安装了Gvim(win32版本不是MinGW或类似的东西),我写的是我的_vimrc
set shell=powershell.exe
现在当我输入:shell命令时,它必须打开一个带有powershell的新缓冲区,但它会在新窗口中打开powershell.
问题:有没有办法设置Gvim(配置或插件)在缓冲区(如bash)中打开PowerShell?
>重读以下文档:shell和design-not.从设计引用而不是:
原文链接:https://www.f2er.com/windows/363293.htmlVim is not a shell or an Operating System. You will not be able to run a
shell inside Vim or use it to control a debugger. This should work the
other way around: Use Vim as a component from a shell or in an IDE.
A satirical way to say this: “Unlike Emacs,Vim does not attempt to include
everything but the kitchen sink,but some people say that you can clean one
with it. ;-)”
>当然,有人不喜欢这个.有一些项目可以在vim中运行shell,最常见的是Conque,它现在有windows支持.请注意,它不适用于unicode.