All Projects → mnpk → Vim Jira Complete

mnpk / Vim Jira Complete

AutoComplete JIRA issues in Vim

Labels

Projects that are alternatives of or similar to Vim Jira Complete

Cmake.vim
🔨 CMake functionality within Vim.
Stars: ✭ 76 (-10.59%)
Mutual labels:  viml
Vim Reload
Automatic reloading of Vim scripts ((file-type) plug-ins, auto-load/syntax/indent scripts, color schemes)
Stars: ✭ 80 (-5.88%)
Mutual labels:  viml
Learn Vim
无废话极简版Vim学习笔记!文章按主题分拆为多个章节,并尽量控制每节的信息量;通过文字色彩和字体,将命令、快捷键突出显示;在每节结尾,提供一个命令列表,以便回顾文中介绍的重要命令。如果这些文章能对喜欢Vim的朋友有所益处,我将不胜荣幸。
Stars: ✭ 83 (-2.35%)
Mutual labels:  viml
Vim Plugin Viewdoc
Vim plugin: flexible viewer for any documentation
Stars: ✭ 79 (-7.06%)
Mutual labels:  viml
Xoria256.vim
Finely tuned soft gamma, 256 colors, dark background, gvim == vim
Stars: ✭ 80 (-5.88%)
Mutual labels:  viml
Incsearch Easymotion.vim
Stars: ✭ 82 (-3.53%)
Mutual labels:  viml
Skybison
Vim plugin to expedite use of cmdline commands
Stars: ✭ 74 (-12.94%)
Mutual labels:  viml
Jasmine.vim
Jasmine Plugin for Vim
Stars: ✭ 84 (-1.18%)
Mutual labels:  viml
Vimtodo
Vim TODO manager
Stars: ✭ 80 (-5.88%)
Mutual labels:  viml
Vimrc
Meteor/Web development centric vim config
Stars: ✭ 83 (-2.35%)
Mutual labels:  viml
Vim Pomodoro
Vim plugin for the Pomodoro time management technique
Stars: ✭ 79 (-7.06%)
Mutual labels:  viml
Vim Statline
Add useful informations to Vim statusline
Stars: ✭ 80 (-5.88%)
Mutual labels:  viml
Vim Symfony
A vim plugin to handle symfony and all that stuff
Stars: ✭ 82 (-3.53%)
Mutual labels:  viml
Conoline.vim
Highlights the line of the cursor only in the current window.
Stars: ✭ 79 (-7.06%)
Mutual labels:  viml
Languagetool
Grammar checker for English, French, German (etc.) in Vim
Stars: ✭ 83 (-2.35%)
Mutual labels:  viml
Intero.nvim
Haskell+Neovim lightning fast autocompletion and other IDE functionality
Stars: ✭ 76 (-10.59%)
Mutual labels:  viml
Closetag.vim
Functions and mappings to close open HTML/XML tags
Stars: ✭ 81 (-4.71%)
Mutual labels:  viml
Vim Task
vim task plugin
Stars: ✭ 84 (-1.18%)
Mutual labels:  viml
Jekyll.vim
Automate common Jekyll tasks from Vim
Stars: ✭ 83 (-2.35%)
Mutual labels:  viml
Use vim as ide
use vim as IDE
Stars: ✭ 9,067 (+10567.06%)
Mutual labels:  viml

vim-jira-complete

jira-complete is a Vim plugin that queries JIRA issues and make a AutoComplete list for you.

This will be helpful if you are using Jira with DVCS smart commits and Fugitive.vim

Demo

demo

How to use

<F5> in insert mode.

This binding can be configured in your .vimrc with for instance:

imap <silent> <unique> <leader>j <Plug>JiraComplete

Installation

Vim-Plug (https://github.com/junegunn/vim-plug)
Plug 'mnpk/vim-jira-complete'
Vundle (https://github.com/gmarik/Vundle.vim)
Plugin 'mnpk/vim-jira-complete'
VAM
" For the official version
InstallAddon mnpk/vim-jira-complete
" For Luc Hermitte's fork
InstallAddon LucHermitte/vim-jira-complete
Manual Install
cd ~/.vim/bundle
git clone git://github.com/mnpk/vim-jira-complete.git

Dependency

Python support and requests package.

pip install requests

Settings

Credentials

The settings can be global, for instance, write in your .vimrc:

let g:jiracomplete_url = 'http://your.jira.url/'
let g:jiracomplete_username = 'your_jira_username'
let g:jiracomplete_password = 'your_jira_password'  " optional

or settings can be local to a project (for those who work on several projects, each managed with a different JIRA):

let b:jiracomplete_url = 'http://your.jira.url/'
let b:jiracomplete_username = 'your_jira_username'
let b:jiracomplete_password = 'your_jira_password'  " optional

Format of the string inserted

By default, upon <F5>, the completion menu will insert the ID of the issue selected. If you also want the string, you can change the format with the option [bg]:jiracomplete_format:

let g:jiracomplete_format = 'v:val.abbr . " -> " . v:val.menu'

for KEY-123 -> Your Issue Title

let g:jiracomplete_format = '"[". v:val.abbr . "]"'

for [KEY-123]

Certificates

If the JIRA site is using a certificate that is not installed on your local machine, you will see this kind of error message:

requests.exceptions.SSLError: [Errno 185090050] _ssl.c:328: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

In that case, you'll have to install a certificate that requests library will be able to use. In you cannot install any, you'll have to parametrize the JIRA URL to say: Please don't try to verify anything this way:

let g:jiracomplete_url = {'url': 'http://your.jira.url/', 'verify': 'False' }

In other words, the URL can be a dictionary of options that'll be passed to requests get() function. Consult the relevant documentation for more information on what you could do with it.

Credits

vim-jira-complete has been initiated by mnpk.

Luc Hermitte provided some enhancements.

Using Luc Hermitte's Vim library lh-vim-lib.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].