加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

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

发布时间:2020-12-14 01:47:45 所属栏目:Windows 来源:网络整理
导读:我在 Windows 7机器上,我安装了Gvim(win32版本不是MinGW或类似的东西),我写的是我的_vimrc set shell=powershell.exe 现在当我输入:shell命令时,它必须打开一个带有powershell的新缓冲区,但它会在新窗口中打开powershell. 问题:有没有办法设置Gvim(配置或
我在 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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读