Skip to content

Small plugin to help staging, unstaging, discarding, commiting and pushing file with git.

Notifications You must be signed in to change notification settings

DannickBedard/githelper.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Small plugin to help staging, unstaging, discarding, commiting and pushing file with git.

Topics

Resources

Stars

Watchers

Forks

Languages