All Projects → Xuyuanp → Nerdtree Git Plugin

Xuyuanp / Nerdtree Git Plugin

Licence: wtfpl
A plugin of NERDTree showing git status

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to Nerdtree Git Plugin

nerdtree-visual-selection
Defines commands that will work on files inside a Visual selection
Stars: ✭ 48 (-97.53%)
Mutual labels:  vim-plugin, nerdtree
Vim Bujo
A minimalist task manager for vim.
Stars: ✭ 136 (-93.01%)
Mutual labels:  vim-plugin
Vim Trex
Running T-Rex with Vim
Stars: ✭ 111 (-94.29%)
Mutual labels:  vim-plugin
Quickfixsigns vim
Mark quickfix & location list items with signs
Stars: ✭ 126 (-93.52%)
Mutual labels:  vim-plugin
Nvim Treesitter Context
Show code context
Stars: ✭ 113 (-94.19%)
Mutual labels:  vim-plugin
Vem Tabline
A lightweight Vim/Neovim plugin to display buffers and tabs in the tabline
Stars: ✭ 129 (-93.37%)
Mutual labels:  vim-plugin
Neovim Fuzzy
Fuzzy file finding for neovim
Stars: ✭ 103 (-94.7%)
Mutual labels:  vim-plugin
Tlib vim
Some utility functions for VIM
Stars: ✭ 147 (-92.44%)
Mutual labels:  vim-plugin
Syntastic
Syntax checking hacks for vim
Stars: ✭ 11,044 (+467.81%)
Mutual labels:  vim-plugin
Vim Todo Lists
Vim plugin for TODO lists
Stars: ✭ 126 (-93.52%)
Mutual labels:  vim-plugin
Vim Operator Surround
Vim operator mapping to enclose text objects with surrounds like paren, quote and so on.
Stars: ✭ 124 (-93.62%)
Mutual labels:  vim-plugin
Incsearch Fuzzy.vim
Stars: ✭ 116 (-94.04%)
Mutual labels:  vim-plugin
Diffchar.vim
Highlight the exact differences, based on characters and words
Stars: ✭ 132 (-93.21%)
Mutual labels:  vim-plugin
Sqhell.vim
An SQL wrapper for vim
Stars: ✭ 113 (-94.19%)
Mutual labels:  vim-plugin
Devdocs.vim
Open devdocs.io from Vim
Stars: ✭ 137 (-92.96%)
Mutual labels:  vim-plugin
Vim Ros
Vim plugin for ROS development
Stars: ✭ 106 (-94.55%)
Mutual labels:  vim-plugin
Vim Gdscript3
Syntax highlighting and completion for GDScript 3
Stars: ✭ 121 (-93.78%)
Mutual labels:  vim-plugin
Vim Clap
👏 Modern performant fuzzy picker for Vim and NeoVim
Stars: ✭ 1,802 (-7.35%)
Mutual labels:  vim-plugin
Iris.vim
📫 Simple mail client for Vim.
Stars: ✭ 148 (-92.39%)
Mutual labels:  vim-plugin
Vim Better Default
🎨 Simplify your .vimrc and make the default vim better
Stars: ✭ 138 (-92.9%)
Mutual labels:  vim-plugin

nerdtree-git-plugin

Github Action License: WTFPL GitHub contributors

A plugin of NERDTree showing git status flags.

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

Imgur

Installation

Use your favorite package manager. Here is the example of using vim-plug

Plug 'preservim/nerdtree' |
            \ Plug 'Xuyuanp/nerdtree-git-plugin'

New project

Yanil: Another nerdtree like plugin for neovim(>= 0.5.0) only. I'm focusing on this project.

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:NERDTreeGitStatusIndicatorMapCustom = {
                \ 'Modified'  :'',
                \ 'Staged'    :'',
                \ 'Untracked' :'',
                \ 'Renamed'   :'',
                \ 'Unmerged'  :'',
                \ 'Deleted'   :'',
                \ 'Dirty'     :'',
                \ 'Ignored'   :'',
                \ 'Clean'     :'✔︎',
                \ 'Unknown'   :'?',
                \ }

There is a predefined map used nerdfonts, to enable it

let g:NERDTreeGitStatusUseNerdFonts = 1 " you should install nerdfonts by yourself. default: 0

How to show ignored status?

let g:NERDTreeGitStatusShowIgnored = 1 " a heavy feature may cost much more time. default: 0

How to cooperate with vim-devicons

Plug 'preservim/nerdtree' |
            \ Plug 'Xuyuanp/nerdtree-git-plugin' |
            \ Plug 'ryanoasis/vim-devicons'

Make sure they are in the right order.

How to indicate every single untracked file under an untracked dir?

let g:NERDTreeGitStatusUntrackedFilesMode = 'all' " a heavy feature too. default: normal

How to set git executable file path?

let g:NERDTreeGitStatusGitBinPath = '/your/file/path' " default: git (auto find in path)

How to show Clean indicator?

let g:NERDTreeGitStatusShowClean = 1 " default: 0

How to hide the boring brackets([ ])?

let g:NERDTreeGitStatusConcealBrackets = 1 " default: 0

NOTICE: DO NOT enable this feature if you have also installed vim-devicons.

Shameless Self Promotion

Yanil: Yet Another Nerdtree In Lua

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].