# ~/.zshrc
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# ~/.fzf.zsh
# fzf command ...
powered by forgit
command | what |
---|---|
ga | Interactive git add selector |
glo | Interactive git log viewer with preview |
gi | Interactive .gitignore generator from selected file |
gd | Interactive git diff viewer |
grh | git reset HEAD <file> with file search |
gcf | Interactive git checkout <file> selector |
gss | Interactive git stash viewer |
gclean | Interactive git clean selector |
powered by ~/.fzf.zsh
command | what |
---|---|
gsw | Interactive git switch selector |
glol | Interactive git lol selector detail |
fd | Interactive cd selector |
Keybind | Action |
---|---|
Enter | Confirm |
Tab | Toggle mark |
? | Toggle preview window |
Alt - W | Toggle preview wrap |
Ctrl - S | Toggle sort |
Ctrl - R | Toggle selection |
Ctrl - K / P | Selection move up |
Ctrl - J / N | Selection move down |
Alt - K / P | Preview move up |
Alt - J / N | Preview move down |