Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork15
Provides the branch name of the current git repository
License
NotificationsYou must be signed in to change notification settings
itchyny/vim-gitbranch
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This plugin provides a function which returns the name of the git branch.
:echogitbranch#name()
You can use this function to integrate with statusline plugins.
For example, in order to show git branch usinglightline.vim, configure as follows.
letg:lightline= {\'active': {\'left': [ ['mode','paste' ],\ ['gitbranch','readonly','filename','modified' ] ]\},\'component_function': {\'gitbranch':'gitbranch#name'\},\}
See theREADME.md of lightline for further details.
Install with your favorite plugin manager.
itchyny (https://github.com/itchyny)
This software is released under the MIT License, see LICENSE.
About
Provides the branch name of the current git repository
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published