是否有一个VER的NERDTree或其他项目插件与git集成以显示文件的状态? [英] Is there a NERDTree or other project plugin for vim that integrates with git to show the status of files?
问题描述
有谁知道如果vim有这个功能的插件吗?无论是NERDTree插件,替换插件还是其他内容?为解决方案
为了将来的参考,我创建了一个NERDTree的分支就是这样做的,它可以在 https://github.com/SeySayux/NerdTreeGit上找到。 a>。
请注意它仍处于开发阶段,因此可能会中断。它还包含一些不可配置选项的奇怪现象。
更新:上面链接的项目已停用。对于(更好)替代方案,请尝试以下操作: https://github.com/Xuyuanp/nerdtree -git-plugin
I played with Aptana Studio for a while before moving over to VIM, and the only thing I really miss about Aptana Studio is the way that in their project view window your file names showed up a different color depending on their status in git (unchanged, changed but not staged, staged, untracked). I know I can just go to terminal and find out, but having it right there in my editor without having to type any commands is really helpful.
Does anyone know if a plugin with this functionality exists for vim? Whether it is a plugin for NERDTree, a replacement, or something else?
For future reference, I created a fork of NERDTree that does exactly that, it can be found at https://github.com/SeySayux/NerdTreeGit .
Please note it's still in development, so it may break. It also contains a few oddities for which there aren't configurable options yet.
UPDATE: The project linked above is discontinued. For a (much better) alternative, try this: https://github.com/Xuyuanp/nerdtree-git-plugin
这篇关于是否有一个VER的NERDTree或其他项目插件与git集成以显示文件的状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!