An open API service indexing awesome lists of open source software.

https://github.com/joseph-pq/committer.nvim

A neovim plugin for developers working with multiple git commit standards
https://github.com/joseph-pq/committer.nvim

git gitmoji neovim neovim-plugin telescope

Last synced: 3 months ago
JSON representation

A neovim plugin for developers working with multiple git commit standards

Awesome Lists containing this project

README

          

# Committer

If you are a developer working in multiple projects, you probably use
a different commit standard per project ([conventional](https://www.conventionalcommits.org/en/v1.0.0/) or [gitmoji](https://gitmoji.dev/)).
This plugin allows you to set a commit standard per project and then just
use `m` to choose a commit prefix without worrying about the standard.
This project is based on [telescope-gitmoji.nvim](https://github.com/olacin/telescope-gitmoji.nvim) and [telescope-cc.nvim](https://github.com/olacin/telescope-cc.nvim).

![demo](./docs/example.gif)

## Getting Started

Install with lazy.nvim:

```lua
{
'JosephPenaQuino/committer.nvim',
config = function()
require("committer").setup()
end,
dependencies = {
'nvim-telescope/telescope.nvim',
'olacin/telescope-gitmoji.nvim',
'olacin/telescope-cc.nvim',
'nvim-lua/plenary.nvim',
},
}
```

## Usage

Open your git project and run:

```vim
:SetCommitType
```

Then, write `conventional` or `gitmoji`.

After that, when writing a commit message, use `m` to choose a commit
prefix.