diff options
Diffstat (limited to 'git')
-rw-r--r-- | git/.gitconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig index 474e0ee..260be78 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -27,3 +27,11 @@ last-commit-to = log -n 1 --pretty=format:%H [init] defaultBranch = main +[fixup] + menu = fzf --height '60%' \ + --bind 'tab:toggle-preview' \ + --bind 'space:preview-page-down' \ + --preview 'git show --color {+1}' \ + --preview-window=up:80% \ + --preview-window cycle \ + --prompt 'Select commit: ' |