Skip to content

SIGMazer/nvim-auto-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-auto-git

Neovim plugin that make using git with neovim easer

ScreenShot

Git Status Alt text Press the letter in help to execute the command Ex. if press `a` when cursor at the same line with `a.txt` it will add it to staging
Git Branch Alt text

Installation

Use packer to quick install. Add to packer.lua:

    use {
        'SIGMazer/nvim-auto-git',
        post_install = {'UpdateRemotePlugins'}
    }

and restart nvim

Remap

Add to remap.lua :

vim.keymap.set("n","<leader>gs",'<Cmd>lua vim.cmd(":AutoGit")<CR>')

TO DO

  • add
  • commit
  • push
  • pull
  • restore
  • merge
  • stash
  • diff
  • branchs (add, switch, delete)
  • log
  • reset

License

MIT License