Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.1 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.1 KB

Committer

If you are a developer working in multiple projects, you probably use a different commit standard per project (conventional or gitmoji). This plugin allows you to set a commit standard per project and then just use <leader>m to choose a commit prefix without worrying about the standard. This project is based on telescope-gitmoji.nvim and telescope-cc.nvim.

demo

Getting Started

Install with lazy.nvim:

{
    '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:

:SetCommitType

Then, write conventional or gitmoji.

After that, when writing a commit message, use <leader>m to choose a commit prefix.