helix icon indicating copy to clipboard operation
helix copied to clipboard

Add git branch name to statusline

Open David-Else opened this issue 3 years ago • 1 comments

When https://github.com/helix-editor/helix/pull/3890 lands I assume it will be easy to get the name of the current branch? Can we then get it in the status-line like this Neovim example:

Screenshot from 2022-09-23 13-51-40

I think it would look good in a little box, like in the screenshot.

David-Else avatar Sep 23 '22 12:09 David-Else

The implementation should be pretty straight forward. I will send a PR if #3890 (and probably one or two followup PRs I have planned) get merged

pascalkuthe avatar Sep 23 '22 15:09 pascalkuthe

Done with https://github.com/helix-editor/helix/pull/5682 :)

David-Else avatar Mar 10 '23 23:03 David-Else