0

I am getting used to learning Magit and I am having to launch the pop-up every time I use Magit so I was wondering if there is a way to have it do that by default instead of after I hit C-c C-c?

I tried looking through the documentation but didn't find anything in there to get the wanted behavior.

5
  • You might try hooking the dispatcher to magit-status-mode, which is invoked with M-x g: (add-hook 'magit-status-mode-hook 'magit-dispatch) Note: I didn't really play around with this too much... Mar 5, 2023 at 17:41
  • I will try that out and update if it works!
    – Hercislife
    Mar 5, 2023 at 17:42
  • You probably know this, but if you're in the magit status buffer, tapping ? is a quick way of doing the same thing with a single keystroke. Mar 5, 2023 at 17:45
  • I didn't know about ?, thank you for the info! Also, what you suggested worked! So it you want to open an answer I can mark it as correct! Thank you for the help.
    – Hercislife
    Mar 5, 2023 at 19:01
  • Glad it helped :) Mar 6, 2023 at 7:16

1 Answer 1

3

Hitting ? in the magit-status buffer calls magit-dispatch and displays a list of available commands. If you really want, you could hook the dispatcher to magit-status-mode, which will call the dispatcher after the status buffer is open: (add-hook 'magit-status-mode-hook 'magit-dispatch)

More info from in Emacs: C-h f magit-status-mode RET

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.