A vim plugin to format your commit-message and promote from vim.
- Define the regex to extract from branch name in vimrc
- example:
let g:branch_regex = "'W[TO]-[0-9]*'"
- Define the commit-prefix string in vimrc
- example:
let g:commit_prefix = 'JIRA:'
- branch-name-WO-001
- promote from vim using the following command
-
:Promote your_commit_message
- The commit is formatted as so.
-
JIRA:WO-001 | your_commit_message
- Directly do a git clone into your ~/.vim/plugin directory
- Install using your favourite method like Vundle/Pathogen
- https://github.com/gmarik/Vundle.vim
- https://github.com/tpope/vim-pathogen