git-flow-format : Formats Git Flow prefixed branch names to take less space in your status line.
| script karma
Downloaded by 1234
Comments, bugs, improvements
script versions (upload new version)
|git-flow-format is a plugin for vim-airline, which formats a Git Flow branch name in order to shorten the prefixes and take up less space in your status line.
This is best shown with a couple of examples:
feature/new_thing --> F:new_thing
release/v1.0.0 --> R:v1.0.0
|git-flow-format can be installed with Pathogen in the normal way. Just clone this repo into your bundle directory:
git clone https://github.com/renyard/vim-git-flow-format.git ~/.vim/bundle/vim-git-flow-format
You can then configure vim-airline to use this format by adding the following line to your .vimrc:
let g:airline#extensions#branch#format = 'Git_flow_branch_format'
Click on the package to download.
ip used for rating: 220.127.116.11