Iamafnan/my-nvimrc

Feature: Git status in nvim-tree statusline

Iamafnan opened this issue · 3 comments

Rough Sketch of new NvimTree Statusline

{Unstaged Files/Total Files} {DirSize}MB

For the directory without git setup we have this sketch

{Total Files} {DirSize}MB

For the Unstaged Files Component we will use this

git diff --name-only | wc -l

For the Total Files Component we will use this

tree --noreport -X -I node_modules | grep file | wc -l