From 10a2b6d8059527f6cf5744208a0138d000742b5f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 19 Mar 2020 17:34:54 -0700 Subject: magit: clean up config by removing unused stuff or stuff that I don't know what they do. --- emacs.d/custom/fcuny-git.el | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'emacs.d') diff --git a/emacs.d/custom/fcuny-git.el b/emacs.d/custom/fcuny-git.el index f9e985d..eb43040 100644 --- a/emacs.d/custom/fcuny-git.el +++ b/emacs.d/custom/fcuny-git.el @@ -11,17 +11,12 @@ (use-package magit :ensure t - :commands magit-status + :mode (("\\COMMIT_EDITMSG\\'" . text-mode) + ("\\MERGE_MSG\\'" . text-mode)) :after (flyspell) - :hook ((magit-mode . hl-line-mode)) - :bind (("C-x g s" . magit-status)) + :bind (("C-x g" . magit-status)) :custom (git-commit-summary-max-length 50) - (fill-column 72) - (magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1) - (magit-completing-read-function 'ivy-completing-read) - :config - (when (fcuny/check-work-machine-p) - (setq magit-git-executable "/opt/twitter_mde/bin/git"))) + (fill-column 72)) (provide 'fcuny-git) -- cgit 1.4.1