{"id":13440419,"url":"https://github.com/Xuyuanp/nerdtree-git-plugin","last_synced_at":"2025-03-20T09:33:06.477Z","repository":{"id":18335115,"uuid":"21514381","full_name":"Xuyuanp/nerdtree-git-plugin","owner":"Xuyuanp","description":"A plugin of NERDTree showing git status","archived":true,"fork":false,"pushed_at":"2021-08-18T13:31:09.000Z","size":146,"stargazers_count":2087,"open_issues_count":0,"forks_count":149,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-01-18T06:32:44.610Z","etag":null,"topics":["nerdtree","vim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xuyuanp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-05T06:12:36.000Z","updated_at":"2024-12-22T16:45:31.000Z","dependencies_parsed_at":"2022-07-18T23:18:19.104Z","dependency_job_id":null,"html_url":"https://github.com/Xuyuanp/nerdtree-git-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xuyuanp%2Fnerdtree-git-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xuyuanp%2Fnerdtree-git-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xuyuanp%2Fnerdtree-git-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xuyuanp%2Fnerdtree-git-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xuyuanp","download_url":"https://codeload.github.com/Xuyuanp/nerdtree-git-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244586024,"owners_count":20476861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nerdtree","vim-plugin"],"created_at":"2024-07-31T03:01:22.607Z","updated_at":"2025-03-20T09:33:06.035Z","avatar_url":"https://github.com/Xuyuanp.png","language":"Vim script","readme":"nerdtree-git-plugin\n===================\n[![Github Action](https://img.shields.io/github/workflow/status/Xuyuanp/nerdtree-git-plugin/CI)](https://github.com/Xuyuanp/nerdtree-git-plugin/actions?query=workflow%3ACI)\n[![License: WTFPL](https://img.shields.io/github/license/Xuyuanp/nerdtree-git-plugin)](http://www.wtfpl.net/about/)\n[![GitHub contributors](https://img.shields.io/github/contributors/Xuyuanp/nerdtree-git-plugin)](https://github.com/Xuyuanp/nerdtree-git-plugin/graphs/contributors)\n\nA plugin of [NERDTree](https://github.com/preservim/nerdtree) showing git status flags.\n\nThe original project [git-nerdtree](https://github.com/Xuyuanp/git-nerdtree) will not be maintained any longer.\n\n![Imgur](http://i.imgur.com/jSCwGjU.gif?1)\n\n## Installation\n\nUse your favorite package manager. Here is the example of using [vim-plug](https://github.com/junegunn/vim-plug)\n\n```vim script\nPlug 'preservim/nerdtree' |\n            \\ Plug 'Xuyuanp/nerdtree-git-plugin'\n```\n\n## New project\n\n[Yanil](https://github.com/Xuyuanp/yanil): Another nerdtree like plugin for neovim(\u003e= 0.5.0) only. I'm focusing on this project.\n\n## FAQ\n\n\u003e Got error message like `Error detected while processing function\n177[2]..178[22]..181[7]..144[9]..142[36]..238[4]..NERDTreeGitStatusRefreshListener[2]..NERDTreeGitStatusRefresh:\nline 6:\nE484: Can't open file /tmp/vZEZ6gM/1` while nerdtree opening in fish, how to resolve this problem?\n\nThis was because that vim couldn't execute `system` function in `fish`. Add `set shell=sh` in your vimrc.\n\nThis issue has been fixed.\n\n\u003e How to config custom symbols?\n\nUse this variable to change symbols.\n\n```vim\nlet g:NERDTreeGitStatusIndicatorMapCustom = {\n                \\ 'Modified'  :'✹',\n                \\ 'Staged'    :'✚',\n                \\ 'Untracked' :'✭',\n                \\ 'Renamed'   :'➜',\n                \\ 'Unmerged'  :'═',\n                \\ 'Deleted'   :'✖',\n                \\ 'Dirty'     :'✗',\n                \\ 'Ignored'   :'☒',\n                \\ 'Clean'     :'✔︎',\n                \\ 'Unknown'   :'?',\n                \\ }\n```\n\nThere is a predefined map used *nerdfonts*, to enable it\n\n```vim\nlet g:NERDTreeGitStatusUseNerdFonts = 1 \" you should install nerdfonts by yourself. default: 0\n```\n\n\u003e How to show `ignored` status?\n\n```vim\nlet g:NERDTreeGitStatusShowIgnored = 1 \" a heavy feature may cost much more time. default: 0\n```\n\n\u003e How to cooperate with [vim-devicons](https://github.com/ryanoasis/vim-devicons)\n\n```vim\nPlug 'preservim/nerdtree' |\n            \\ Plug 'Xuyuanp/nerdtree-git-plugin' |\n            \\ Plug 'ryanoasis/vim-devicons'\n```\n\nMake sure they are in the right order.\n\n\u003e How to indicate every single `untracked` file under an `untracked` dir?\n\n```vim\nlet g:NERDTreeGitStatusUntrackedFilesMode = 'all' \" a heavy feature too. default: normal\n```\n\n\u003e How to set `git` executable file path?\n\n```vim\nlet g:NERDTreeGitStatusGitBinPath = '/your/file/path' \" default: git (auto find in path)\n```\n\n\u003e How to show `Clean` indicator?\n\n```vim\nlet g:NERDTreeGitStatusShowClean = 1 \" default: 0\n```\n\n\u003e How to hide the boring brackets(`[ ]`)?\n\n```vim\nlet g:NERDTreeGitStatusConcealBrackets = 1 \" default: 0\n```\n\n**NOTICE**: DO NOT enable this feature if you have also installed [vim-devicons](https://github.com/ryanoasis/vim-devicons).\n\n## Shameless Self Promotion\n\n[Yanil](https://github.com/Xuyuanp/yanil): Yet Another Nerdtree In Lua\n\n## Credits\n\n* [scrooloose](https://github.com/scrooloose): Open API for me.\n* [git\\_nerd](https://github.com/swerner/git_nerd): Where my idea comes from.\n* [PickRelated](https://github.com/PickRelated): Add custom indicators \u0026 Review code.\n","funding_links":[],"categories":["HarmonyOS","Vim Script","Plugins / Themes / Dependencies"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXuyuanp%2Fnerdtree-git-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FXuyuanp%2Fnerdtree-git-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXuyuanp%2Fnerdtree-git-plugin/lists"}