diff options
author | Matt Turner <mattst88@gmail.com> | 2024-05-16 22:06:16 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2024-05-18 17:41:55 -0400 |
commit | 0dc73b99407181a2533d17baa42fda98205ec85d (patch) | |
tree | 20a987715faf3fa6a6ab780ad1db1d6c204b050b /git/.gitconfig | |
parent | ba3c7be2fa77aa30f11215876177910e56e1fbc4 (diff) |
git: Add fixup.menu
Diffstat (limited to 'git/.gitconfig')
-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: ' |