vim-gin icon indicating copy to clipboard operation
vim-gin copied to clipboard

🥃 Gin makes you drunk on Git

🥃 gin.vim

Deno 1.17.0 or above Vim 8.2.3452 or above Neovim 0.6.0 or above MIT License vim help test

Gin (gin.vim) is a plugin to handle git repository from Vim/Neovim.

Alpha version. Any changes, including backward incompatible ones, are applied without announcements.

Features

  • Proxy the prompts/editor used by git commands to Vim
  • Components to show information on statusline and/or tabline
  • Gin to call a raw git command and echo the result
  • GinBuffer to call a raw git command and open a result buffer
  • GinBranch to see git branch of a repository
  • GinChaperon to solve git conflicts (like git mergetool)
  • GinDiff to see git diff of a file
  • GinEdit to see git show of a file
  • GinPatch to stage changes partially (like git add -p)
  • GinStatus to see git status of a repository

See Features in Wiki for detail about each features.

Requirements

Gin is written in denops thus users need to install Deno and denops.vim

Installation

Install Deno then use vim-plug to install like:

Plug 'vim-denops/denops.vim'
Plug 'lambdalisue/gin.vim'

Or see How to install section in Wiki for other Vim plugin managers.

Similar projects

License

The code in this repository follows MIT license, texted in LICENSE. Contributors need to agree that any modifications sent in this repository follow the license.