Skip to content

maxjacobson/vim-fzf-coauthorship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributor Covenant

vim-fzf-coauthorship

A vim plugin built on top of fzf.vim to help insert GitHub coauthorship attribution, e.g.:

Co-authored-by: Ru Paul <ru.paul@example.com>

It will look at people who have previously authored commits in the current repository and suggest them as co-authors.

Demo

Demo of the plugin in action

Installation

Note: this plugin requires that you have installed fzf.vim, as it is just a thin wrapper on top of that.

With vim-plug:

Plug 'maxjacobson/vim-fzf-coauthorship'

Usage

git add .
git commit -v

Now that you're in vim, just run :Coauthorship and hit enter to invoke the plugin. Thereafter you can interactively search for other co-authors, and select one or more with <TAB> key-presses.

If you'd like to invoke it with <C-g> (control g), you can add this line to your vimrc:

nmap <silent> <C-g> :Coauthorship<CR>

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published