微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

windows-7 – powershell as gvim(vim):shell

我在 Windows 7机器上,我安装了Gvim(win32版本不是MinGW或类似的东西),我写的是我的_vimrc
set shell=powershell.exe

现在当我输入:shell命令时,它必须打开一个带有powershell的新缓冲区,但它会在新窗口中打开powershell.

问题:有没有办法设置Gvim(配置或插件)在缓冲区(如bash)中打开PowerShell?

>重读以下文档:shell和design-not.从设计引用而不是:

Vim 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.

原文地址:https://www.jb51.cc/windows/363293.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐