Merge pull request #1 from yifeikong/patch-1

Add install method with antigen and fix some typo
This commit is contained in:
Wenxuan 2018-03-31 23:17:09 +08:00 committed by GitHub
commit 85ac102c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,12 @@ Just add this line to your zshrc:
zplug 'wfxr/forgit', defer:1
### [antigen](https//github.com/zsh-users/antigen)
Just add this line to your zshrc:
antigen bundle wfxr/forgit
### Manually
Clone this repo somewhere and source the `forgit.plugin.zsh` at ~/.zshrc.
@ -29,7 +35,7 @@ Interactive `git add`
<?> Toogle preview window
<A-w> Toggle preview wrap
<A-j><C-k> Preview down/up
<A-j><A-k> Preview down/up
### glo
@ -42,7 +48,7 @@ Interactive `git log`
<?> Toogle preview window
<A-w> Toggle preview wrap
<A-j><C-k> Preview down/up
<A-j><A-k> Preview down/up
### gd
@ -53,7 +59,7 @@ Interactive `git diff`
<?> Toogle preview window
<A-w> Toggle preview wrap
<A-j><C-k> Preview down/up
<A-j><A-k> Preview down/up
### gi