Git Branch Info is a Vim plugin that displays Git branch information on your status bar, helping you stay on top of your code changes.
With this plugin, you can customize your status line configuration to your liking, even append it to an existing one. You can also add any color scheme of your choice using :help highlight-groups to explore more options. Additionally, there are customizable results based on existing variables like the current head branch name or text before the branches.
If you don't want information about remote branches, just set let g:git_branch_status_ignore_remotes=1 to improve performance. You can make your own customizations in the GitBranchInfoTokens() function, which returns an array with the current branch as the first element and another array with the other branches as the second element.
Git Branch Info requires Vim to function and has recently been updated to detect if a file needs to be written. Additionally, if it's a normal buffer, it is written, if not, the GitBranchInfoWriteCheck() will skip it. This feature is useful when used with other scripts that use temporary buffers like VCSCommand.
Overall, Git Branch Info is an exemplary Vim plugin that simplifies the process of viewing Git branches information on your status line.
Version 0.0.7: N/A