Vim+;“zshell”;zsh暂停使用“;运行Vim外部命令后

Vim+;“zshell”;zsh暂停使用“;运行Vim外部命令后,vim,zsh,Vim,Zsh,这里的Vim新手(已经与zsh合作几个月了)。我认为我安装了太多的点文件或配置错误,因为每当我尝试一个外部命令(甚至是:!rm TEST)时,Vim都会退出,并显示一条消息zsh:suspended(tty output)Vim.。如何解决这个问题 dotfiles:(我从其他人那里得到的)。试着注释一下: set shellcmdflag=-ci 如果这对你不起作用,请看以下内容 从手册中: Commands are first read from /etc/zshenv; this

这里的Vim新手(已经与zsh合作几个月了)。我认为我安装了太多的点文件或配置错误,因为每当我尝试一个外部命令(甚至是
:!rm TEST
)时,Vim都会退出,并显示一条消息
zsh:suspended(tty output)Vim.
。如何解决这个问题


dotfiles:(我从其他人那里得到的)。

试着注释一下:

set shellcmdflag=-ci
如果这对你不起作用,请看以下内容

从手册中:

Commands  are  first  read from /etc/zshenv; this cannot be overridden.

[...]

Commands are then read from $ZDOTDIR/.zshenv. If the shell is a
login shell, commands are read from /etc/zprofile and then 
$ZDOTDIR/.zprofile. Then, if the shell is interactive, 
commands are read from /etc/zshrc and then $ZDOTDIR/.zshrc. Finally,
if the shell is a login shell, /etc/zlogin and $ZDOTDIR/.zlogin are
read.
据我了解,

设置外壳=zsh \-i


应该可以工作。

如果您想通过暂停返回vim,可以使用
fg
,如下所示:

fg%vim\[u viming文件]


此标题可能有助于u:

您是否尝试执行二分法?是否尝试更改
shell
选项的值?