vimagit
vimagit copied to clipboard
Feature request: User define the commit trigger command
Thank you a lot for the Magit plugin, I really love it!
One thing that bothers me though is that I cannot customise the command which will trigger the commit. I have this compulsion to save whenever I exit INSERT mode. The thing is, saving triggers the commit if the commit message is not empty.
I would like to be able to set what will trigger the commit message.
Another solution would be to only trigger the commit on file exit using ZZ, :wq, :x, but not on :w.
Thank you!
The way commit is triggered for the moment, I can't differentiate ZZ, :wq or :w. I may add an option to globally disable the trigger on write buffer actions.