Ⅰ. 插件描述
Get JIRA info without leaving viⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'danbradbury/vim-fetch-jira'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'danbradbury/vim-fetch-jira'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'danbradbury/vim-fetch-jira'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/danbradbury/vim-fetch-jira
Ⅳ. 文档说明
# vim-fetch-jira
fetch-jira is a Vim plugin that queries JIRA issues and finds relevant information on each
How to use
Get infomation on Unresolved Issues that you are assigned to
- <F6> in insert mode.
Insert Jira ticket summary for git commit message
- <F7> in insert mode
Get an overview of work remaining for the current sprint. Helpful for scrum masters who want to high level view of the teams progress.
- <F8> in insert mode
Installation (Vundle)
Plugin 'DanBradbury/vim-fetch-jira'
:PluginInstallDependency
python support and requests package.
pip install requestsSettings
in your .vimrc,
let g:jiracomplete_url = 'http://your.jira.url/'
let g:jiracomplete_username = 'your_jira_username'
let g:jiracomplete_auth = 'your_jira_password' " optional. You will be prompt if not supplied
let g:jira_team_name = 'your_team_name' "label used for the team
let g:jira_current_sprint = 'sprint_num' "integer value of sprint#Special thanks to @mnpk for writing the jira-complete plugin that inspired this.