What the .emacs.d!?

Already missing the C-c C-c and C-c C-k from the magit commit buffer?

Then you've probably copied this from my emacs settings:

  ;; Highlighting in editmsg-buffer for magit
  (add-to-list 'auto-mode-alist '("COMMIT_EDITMSG" . conf-javaprop-mode))

Remove that. Now you have C-c C-c. Next up is C-c C-k:

  (defun magit-exit-commit-mode ()

  (eval-after-load "git-commit-mode"
    '(define-key git-commit-mode-map (kbd "C-c C-k") 'magit-exit-commit-mode))

As for the C-c C-a keybinding, I find I'm happy with c -a c from magit-status instead. I wish I didn't have to press that -, but it's ok.

blog comments powered by Disqus