Is there a NERDTree or other project plugin for vim that integrates with git to show the status of files?

后端 未结 4 1738
悲&欢浪女
悲&欢浪女 2021-02-19 03:54

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 na

4条回答
  •  天命终不由人
    2021-02-19 04:20

    Have you looked at fugitive.vim? It doesn't do exactly what you're looking for in terms of color-coding NERDTree based on git status -- I'm not aware of any Vim plugin that does, though it would be awesome. It does function as a pretty great little Git wrapper, and allows you to quickly view your project's status in a split window with :Gstatus. No need to go to the terminal. You can even add a branch indicator for the current file to Vim's status line.

    You can watch the first in a five-part screencast on fugitive.vim here.

提交回复
热议问题