GithubHelp home page GithubHelp logo

morristech / nerdtree-git-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xuyuanp/nerdtree-git-plugin

0.0 0.0 0.0 60 KB

A plugin of NERDTree showing git status

License: Do What The F*ck You Want To Public License

Vim Script 100.00%

nerdtree-git-plugin's Introduction

nerdtree-git-plugin

A plugin of NERDTree showing git status flags. Works with the LATEST version of NERDTree.

The original project git-nerdtree will not be maintained any longer.

Imgur

Installation

For Pathogen

git clone https://github.com/Xuyuanp/nerdtree-git-plugin.git ~/.vim/bundle/nerdtree-git-plugin

Now reload the vim

For Vundle

Plugin 'scrooloose/nerdtree'

Plugin 'Xuyuanp/nerdtree-git-plugin'

For NeoBundle

NeoBundle 'scrooloose/nerdtree'

NeoBundle 'Xuyuanp/nerdtree-git-plugin'

For Plug

Plug 'scrooloose/nerdtree'

Plug 'Xuyuanp/nerdtree-git-plugin'

FAQ

Got error message like Error detected while processing function 177[2]..178[22]..181[7]..144[9]..142[36]..238[4]..NERDTreeGitStatusRefreshListener[2]..NERDTreeGitStatusRefresh: line 6: E484: Can't open file /tmp/vZEZ6gM/1 while nerdtree opening in fish, how to resolve this problem?

This was because that vim couldn't execute system function in fish. Add set shell=sh in your vimrc.

This issue has been fixed.

How to config custom symbols?

Use this variable to change symbols.

let g:NERDTreeIndicatorMapCustom = {
    \ "Modified"  : "✹",
    \ "Staged"    : "✚",
    \ "Untracked" : "✭",
    \ "Renamed"   : "➜",
    \ "Unmerged"  : "═",
    \ "Deleted"   : "✖",
    \ "Dirty"     : "✗",
    \ "Clean"     : "✔︎",
    \ 'Ignored'   : '☒',
    \ "Unknown"   : "?"
    \ }

How to show ignored status?

let g:NERDTreeShowIgnoredStatus = 1 (a heavy feature may cost much more time)

Credits

nerdtree-git-plugin's People

Contributors

balogic avatar inebritov avatar jackliu91 avatar jazmit avatar martinhj avatar n10v avatar pickrelated avatar runoshun avatar scrooloose avatar skinner33 avatar taqenoqo avatar wabri avatar xuyuanp avatar yzzy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.