fizzygit
is a utility tool for git taking advantage of fuzzy finder fzf.
With fisherman
fisher EfforiaKnight/fizzygit
Add following block to your config.fish
if type -q fizzygit
fizzygit
end
- Install diff-so-fancy will give you better quality of diff output.
- Required fish version:
>=2.4.0
- Compatible fzf versions:
>0.11.3
Variable FZF_TMUX
- runs a tmux-friendly version of fzf instead
set -U FZF_TMUX 1
Keys | Action |
---|---|
<Enter> |
Fullscreen preview |
<C-j/n><C-k/p> |
Selection down/up |
<?> |
Toogle preview window |
<A-w> |
Toggle preview wrap |
<A-j><C-k> |
Preview down/up |
Keys | Action |
---|---|
<Enter> |
Fullscreen preview |
<C-j/n><C-k/p> |
Selection down/up |
<?> |
Toogle preview window |
<A-w> |
Toggle preview wrap |
<A-j><C-k> |
Preview down/up |
Interactive git add
inside fzf
Keys | Action |
---|---|
<Enter> |
Fullscreen preview |
<C-j/n><C-k/p> |
Selection down/up |
<?> |
Toogle preview window |
<A-w> |
Toggle preview wrap |
<A-j><C-k> |
Preview down/up |
<Tab> |
Mark/Unmark(and move down) |
<C-r> |
Reverse selection |
<A-Enter> |
git add selected files |
<C-p> |
git add --patch selected files |
<A-r> |
git reset HEAD selected files |
- Fullscreen preview doesn't work in
ga
when not intmux
mode.