GithubHelp home page GithubHelp logo

00mjk / igit.nvim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ipod825/igit.nvim

0.0 0.0 0.0 729 KB

Git intergration for neovim.

License: MIT License

Lua 92.25% Makefile 0.27% Vim Script 7.49%

igit.nvim's Introduction

Igit

Neovim

CI Status

Dependency

  1. plenary.nvim
  2. libp.nvim

Installation


Use you preferred package manager. Below we use packer.nvim as an example.

use {'nvim-lua/plenary.nvim'}
use {'ipod825/libp.nvim'}
use {
	"ipod825/igit.nvim",
	config = function()
		require("igit").setup()
	end,
}

or

use({
	"ipod825/igit.nvim",
	requires = { "nvim-lua/plenary.nvim", "ipod825/libp.nvim" },
	config = function()
		require("igit").setup()
	end,
})

Usage

:IGit status            " Opens the status page (defaults with -s argument.)
:IGit status --long     " Opens customized status page. 
:IGit log               " Opens the log page (defaults with  "--oneline --branches --graph --decorate=short")
:IGit log --pretty="format:%h%x09%an%x09%ad%x09%s" " Opens Customized log page
:IGit branch            " Opens the branch page (defaults with -v argument.)
:IGit branch --abrev    " Opens customized branch page.

:belowright IGit status " Opens pages with modifier

:IGit push              " Execute arbitrary git command

Page Mappings

See :help igit-mappings.

Highlights:

  • Interactive staging with vim diff window.
  • Rebase chains of commits in branch or log pages.
  • Add/Remove/Rename branches in branch pages just like editing files.

Customization

See igit-customization.

Highlights:

  • Default command name IGit is customizable.
  • Pages open command is customizable.
  • Mappings handlers takes lua functions.

Screen Shot

branch log status

igit.nvim's People

Contributors

ipod825 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.