Update README

This commit is contained in:
Wenxuan 2017-11-24 00:25:17 +08:00
parent 1ffcb915d8
commit cd739e0f36
5 changed files with 6 additions and 4 deletions

View file

@ -2,10 +2,6 @@
`forgit` is a utility tool for git taking advantage of fuzzy finder [`fzf`](https://github.com/junegunn/fzf).
## Screenshot
![screenshot](screenshot.png)
## Install
### zplug([Recommand](https://github.com/zplug/zplug))
@ -24,6 +20,8 @@ Clone this repo somewhere and source the `forgit.plugin.zsh` at ~/.zshrc.
Interactive `git add`
![screenshot](screenshot-ga.png)
<Tab> Mark/Unmark(and move down)
<C-r> Reverse selection
<Enter> Confirml and quit
@ -37,6 +35,8 @@ Interactive `git add`
Interactive `git log`
![screenshot](screenshot-glo.png)
<Enter> Fullscreen preview
<C-j/n><C-k/p> Selection down/up
@ -59,6 +59,8 @@ Interactive `git diff`
Interactive `.gitignore` generator
![screenshot](screenshot-gi.png)
### Tips
Install [`diff-so-fancy`](https://github.com/so-fancy/diff-so-fancy) for better quality of diff result.

BIN
screenshot-ga.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 KiB

BIN
screenshot-gi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 KiB

BIN
screenshot-glo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 971 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 KiB