Iamafnan / my-nvimrc

My Neovim configurations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: Git status in nvim-tree statusline

Iamafnan opened this issue · 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