mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
fzf-git: add README.md
This commit is contained in:
parent
27db9a9191
commit
94e39555c6
1 changed files with 23 additions and 0 deletions
23
plugins/fzf-git/README.md
Normal file
23
plugins/fzf-git/README.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
<h1 align="center">fzf-git</h1>
|
||||||
|
<p align="center">
|
||||||
|
Git shortcuts, powered by
|
||||||
|
<a href="https://github.com/junegunn/fzf">fzf</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
This plugin adds useful shortcuts to zsh for interacting with git.
|
||||||
|
|
||||||
|
To use it, add `fzf-git` to the plugins array in your zshrc file:
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
plugins=(... fzf-git)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Shortcuts
|
||||||
|
|
||||||
|
| Shortcut | Command | Effect |
|
||||||
|
| -------------------------------------- | ---------- | ------------------------- |
|
||||||
|
| <kbd>Ctrl + g</kbd><kbd>Ctrl + s</kbd> | git status | Insert selected file |
|
||||||
|
| <kbd>Ctrl + g</kbd><kbd>Ctrl + b</kbd> | git branch | Insert selected branch |
|
||||||
|
| <kbd>Ctrl + g</kbd><kbd>Ctrl + t</kbd> | git tag | Insert selected tag |
|
||||||
|
| <kbd>Ctrl + g</kbd><kbd>Ctrl + l</kbd> | git log | Insert hash of select log |
|
||||||
|
| <kbd>Ctrl + g</kbd><kbd>Ctrl + r</kbd> | git remote | Insert selected remote |
|
Loading…
Reference in a new issue