adding new stuff
This commit is contained in:
parent
f84d7183aa
commit
9ef8a96f9a
1580 changed files with 0 additions and 0 deletions
75
plugins/bundle/nerdtree-git-plugin/README.md
Normal file
75
plugins/bundle/nerdtree-git-plugin/README.md
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
nerdtree-git-plugin
|
||||
===================
|
||||
|
||||
A plugin of NERDTree showing git status flags. Works with the **LATEST** version of NERDTree.
|
||||
|
||||
The original project [git-nerdtree](https://github.com/Xuyuanp/git-nerdtree) will not be maintained any longer.
|
||||
|
||||
|
||||

|
||||
|
||||
## 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.
|
||||
|
||||
```vimscript
|
||||
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
|
||||
|
||||
* [scrooloose](https://github.com/scrooloose): Open API for me.
|
||||
* [git_nerd](https://github.com/swerner/git_nerd): Where my idea comes from.
|
||||
* [PickRelated](https://github.com/PickRelated): Add custom indicators & Review code.
|
||||
Loading…
Add table
Add a link
Reference in a new issue