Vim新手在這裏(已經與zsh一起工作了幾個月)。我想我安裝了太多點文件或有一個錯誤的配置,因爲每當我試圖外部命令(即使事情如:!rm TEST
,Vim的一條消息zsh: suspended (tty output) vim .
如何解決這將退出Vim + zshell,運行Vim外部命令後「zsh suspended」
的點文件:?https://github.com/daryllxd/dotfiles(我。從別人那裏)得到了他們
Vim新手在這裏(已經與zsh一起工作了幾個月)。我想我安裝了太多點文件或有一個錯誤的配置,因爲每當我試圖外部命令(即使事情如:!rm TEST
,Vim的一條消息zsh: suspended (tty output) vim .
如何解決這將退出Vim + zshell,運行Vim外部命令後「zsh suspended」
的點文件:?https://github.com/daryllxd/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.
據我瞭解,
一套SHELL = zsh的\ -i
應該工作。
FG%VIM \ [C viming文件]
這個標題也許幫助ü:如果u想暫停回來到VIM,ü可以用fg
,就這樣
您是否試圖執行平分?您是否嘗試更改'shell'選項的值? – romainl