Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Latest commit

 

History

History
43 lines (36 loc) · 1.22 KB

README.md

File metadata and controls

43 lines (36 loc) · 1.22 KB

githelper.nvim

Small plugin to help stagins file, unstage, discard, commit and push with git.

Features in image :

Capture d’écran, le 2024-07-19 à 23 33 41

Commit : commit

Setup

{
    "DannickBedard/githelper.nvim",
    config = function ()
        local border = require("githelper.border")

        local gitKeymap = { -- Default keymap
            quit = "q",
            edit = "<cr>",
            stage = "s",
            unstage = "u",
            discard = "d",
            commit = "c",
            push = "p",
            pull = "pl",
        }

        require("githelper").setup({
            border = border.simpleRoundedBorder, -- doubleBorder, simpleBorder, simpleRoundedBorder, simpleThickBorder
            gitKeymap = gitKeymap
        });
    end
}

TODOS :

  • Diff
    • Make the view
    • Window won't always open...
  • Make a confirmation for discarding
    • Make window
    • Add settings in setup to disable this feature if you find it annoying