是否有一个VER的NERDTree或其他项目插件与git集成以显示文件的状态? [英] Is there a NERDTree or other project plugin for vim that integrates with git to show the status of files?

查看:167
本文介绍了是否有一个VER的NERDTree或其他项目插件与git集成以显示文件的状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Aptana Studio中玩了一段时间,然后转向VIM,而我真正想念Aptana Studio的唯一方式就是在他们的项目视图窗口中,根据他们在git中的状态显示出不同的颜色(不变,改变但不上演,上演,未跟踪)。我知道我可以去终端找出来,但是在编辑器中直接使用它,而不必输入任何命令,这真的很有帮助。



有谁知道如果vim有这个功能的插件吗?无论是NERDTree插件,替换插件还是其他内容?为解决方案

为了将来的参考,我创建了一个NERDTree的分支就是这样做的,它可以在 https://github.com/SeySayux/NerdTreeGit



请注意它仍处于开发阶段,因此可能会中断。它还包含一些不可配置选项的奇怪现象。



更新:上面链接的项目已停用。对于(更好)替代方案,请尝试以下操作: 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆