I use git-gutter to keep track of git changes in my buffer while editing.
I created this hydra for speed up commits a bit more (when I don't feel like using magit - often because this "takes me away" from my current file).
(defhydra my-git-changes-hydra ()
"Navigate and record git changes"
("j" git-gutter:next-hunk "next")
("k" git-gutter:previous-hunk "prev")
("s" git-gutter:stage-hunk "stage")
("v" git-gutter:popup-hunk "view")
("x" git-gutter:revert-hunk "revert"))
This worked pretty well. But it's slightly annoying having to type "yes" and "no" whenever I stage stuff. I'm aware that this there for safety... but if I've already gone into a hydra and am moving around commits and am going through a bunch of changes I think I can accept the risk.
Is there a way to disable the "yes/no" prompting... or switching it to a simple y or n keypress.