diferente.nvim
is a plugin that aims to improve the experience when commiting and merging
changes in a Git repository.
This plugin could be seen as a Lua-rewrite spiritual succesor of commitia.vim, while
trying to remaining minimal and modular.
The end goal is to enhance the COMMIT_MSG
and MERGE_MSG
file types with tools and UI
that (1) help improve commit messages and (2) have a better overview of the commit history.
Install diferente
with your preferred package manager:
vim-plug
Plug 'cvigilv/diferente.nvim'
use 'cvigilv/diferente.nvim'
In order to configure diferente
and use it, the following should be present in
your init.lua
:
require("diferente").setup({})
This will setup the keybind <S-Tab>
, that will allow to switch to different modes inside the
diferente UI.
The default values of diferente.nvim
setup are:
{
ratio = 0.3, -- UI size, value must be between 0 and 1
preference = "diff", -- Buffer to open at startup, value is any of "diff", "log", "status"
create_ex_commands = true, -- Creates "Diferente*" ex-commands
create_keymaps = true, -- Sets <S-Tab> for fast switching between diferente UI buffers
}
Pull requests are welcomed for improvement of tool and community templates. Please contribute using Github Flow. Create a branch, add commits, and open a pull request.
Please open an issue for support.