If your commit message summary is formatted as "Bug :", this plugin can get the Bug details associated with the current line and display that in a separate window. Think of this as a broiler plate plugin. Feel free to modify the python code as you see fit in your particular use case.
This plugin few third party applications to work:
- git: Git is used to pull the blame information for the current line. This is then parsed to obtain the bugID, which is then passed to pybugz.
- pybugz: Pybugz then pulls the relevant information from bugzilla.
Make sure that both git and pybugz are working before you use this plugin.
Use your plugin manager of choice.
- Pathogen
git clone https://github.com/codeyman/vbugz ~/.vim/bundle/vbugz
- Vundle
- Add
Bundle 'https://github.com/codeyman/vbugz'
to .vimrc - Run
:BundleInstall
- Add
- NeoBundle
- Add
NeoBundle 'https://github.com/codeyman/vbugz'
to .vimrc - Run
:NeoBundleInstall
- Add
- vim-plug
- Add
Plug 'https://github.com/codeyman/vbugz'
to .vimrc - Run
:PlugInstall
- Add
- vim-8
git clone https://github.com/codeyman/vbugz ~/.vim/pack/<yourplugins>/start/vbugz