git shell 命令不适用于 IdeaVim。



我正在使用Intellij进行IDE,并安装了IdeaVim。我正在尝试在vim内执行git status,但这无效,没有什么可显示的。

:! git --help:! ls -al工作

:! cd /不起作用并显示以下错误消息。

Cannot run program "cd": error=2, No such file or directory.

我可以在vim内的shell上使用git命令吗?有人可以帮我吗?预先感谢您。

来自IDEAVIM参考手册:

==============================================================================
5. EX commands                                  *ex-cmd-index*
This is a brief but complete listing of all the ":" commands, without
mentioning any arguments.  The optional part of the command name is inside [].
The commands are sorted on the non-optional part of their name.
tag           command         action ~
------------------------------------------------------------------------------
|:display|      :di[splay]      display registers
|:registers|    :reg[isters]    display the contents of registers
|:substitute| :s[ubstitute] find and replace text

"简介但完整"表明,这些是Ideavim中仅有的三个支持的前模式命令。

这个问题是四年前提出的,但似乎仍然有些相关

我正在将iDeavim与pycharm 2021.2一起使用,并且有类似的问题因为默认情况下的外壳!是DOS CMD外壳。

所以而不是CD尝试DIR。

相关内容

最新更新