Closed Connorelsea closed 6 years ago
@Connorelsea Fine idea. Go for it :shipit:
@Connorelsea +1
@Connorelsea great idea - providing a way of moving git information away from the prompt and into the status bar could be useful for a lot of people!
I tried to take a shot at it but I bumped into two issues:
Now both of those are most likely doable but, I didn't have enough time to properly look further, if someone else wants to take a look.
@Anahkiasen https://github.com/henrikdahl/hyper-statusline has git info. Take a look at that source 😄, if you're going to add it. Please do it in the develop
branch.
Yes that's the plugin I looked at (because originally I thought I could use both but they overlap each other) but as far as I can see it handles this in an entirely different way from the way Hyperline is architectured :/
@Anahkiasen me, @NickTikhonov and @henrikdahl have plans to combine the two status lines. Just haven't had time to implement it all 😄 I'll have a look when I get to it :)
I've lacked time as well. I'll also look into it when I find time ✌️
Please, this feature is awesome.
@sangdth this feature is being worked on by @henrikdahl and myself. Henrik has this feature already in a statusline plugin of his own so it's mainly the process of getting it ported over to Hyperline.
Thanks for your fast response @basedjux, I came here after installed the statusline plugin but it was covered by hyperline. Looking forward. Thanks for all your contribution.
Yeah no problem 😄
And yeah you can't have them both running, it has to be one or the other for right now.
Why this was closed? Is this feature implemented?
My idea would be to separate related sections of git info into separate hyperline plugins.
git-diff
: Shows the additions and deletions (in # of lines) of the current working directorygit-path-status
: Shows stats about the current working directory (is staged, is ignored, is modified, is new)git-branch
: Shows the name of the current branchI'd be interesting in implementing this and submitting a PR if that is okay with the maintainers.
We could possibly use this library.