From 0dc73b99407181a2533d17baa42fda98205ec85d Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 16 May 2024 22:06:16 -0400 Subject: git: Add fixup.menu --- git/.gitconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'git/.gitconfig') 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: ' -- cgit v1.2.3