Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lambdalisue/vim-gin
🥃 Gin makes you drunk on Git
https://github.com/lambdalisue/vim-gin
git github neovim vim vim-denops
Last synced: 8 days ago
JSON representation
🥃 Gin makes you drunk on Git
- Host: GitHub
- URL: https://github.com/lambdalisue/vim-gin
- Owner: lambdalisue
- License: mit
- Created: 2021-05-07T10:57:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-08T15:58:23.000Z (8 months ago)
- Last Synced: 2024-05-08T17:17:53.295Z (8 months ago)
- Topics: git, github, neovim, vim, vim-denops
- Language: TypeScript
- Homepage:
- Size: 1.05 MB
- Stars: 135
- Watchers: 7
- Forks: 8
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🥃 Gin
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![vim help](https://img.shields.io/badge/vim-%3Ah%20gin-orange.svg)](doc/gin.txt)
[![test](https://github.com/lambdalisue/vim-gin/actions/workflows/test.yml/badge.svg)](https://github.com/lambdalisue/vim-gin/actions/workflows/test.yml)Gin (_vim-gin_) 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
- `GinBrowse` to visit the hosting service webpage of a repository (powered by
[git-browse](https://deno.land/x/git_browse))
- `GinCd/GinLcd/GinTcd` to invoke `cd/lcd/tcd` to the repository root
- `GinChaperon` to solve git conflicts (like `git mergetool`)
- `GinDiff` to see `git diff` of a file
- `GinEdit` to see `git show` of a file
- `GinLog` to see `git log` of a repository/file
- `GinPatch` to stage changes partially (like `git add -p`)
- `GinStatus` to see `git status` of a repositorySee [Features](https://github.com/lambdalisue/vim-gin/wiki/Features) in Wiki for
detail about each features.## Requirements
Gin is written in denops thus users need to install [Deno](https://deno.land)
and denops.vim- [vim-denops/denops.vim][vim-denops/denops.vim]
An ecosystem for writing
Vim/Neovim plugin in Deno.[vim-denops/denops.vim]: https://github.com/vim-denops/denops.vim
## Installation
Install [Deno](https://deno.land) then use
[vim-plug](https://github.com/junegunn/vim-plug) to install like:```vim
Plug 'vim-denops/denops.vim'
Plug 'lambdalisue/vim-gin'
```Or see
[How to install](https://github.com/lambdalisue/vim-gin/wiki#how-to-install)
section in Wiki for other Vim plugin managers.## Similar projects
- [tpope/vim-fugitive](https://github.com/tpope/vim-fugitive)
A plugin that
lead me to the development of gita.vim
- [lambdalisue/vim-gita](https://github.com/lambdalisue/vim-gita)
First git
manipulation plugin that I made, works on Vim 7.4
- [lambdalisue/vim-gina](https://github.com/lambdalisue/vim-gina)
Second git
manipulation plugin that I made, works asynchronously on Vim 8.1## License
The code in this repository follows MIT license, texted in [LICENSE](./LICENSE).
Contributors need to agree that any modifications sent in this repository follow
the license.