(eval-when-compile (require 'use-package)) (use-package magit :mode (("differential-update-comments" . git-commit-mode) ("new-commit" . git-commit-mode)) :bind (("C-x g s" . magit-status) ("C-x g b" . magit-checkout)) :init (progn (setq magit-completing-read-function 'ivy-completing-read)) :config (progn (global-git-commit-mode) ;; I don't care about other VC backend for work (if (fc/check-work-machine-p) (setf vc-handled-backends nil vc-follow-symlinks t)) (use-package git-commit :ensure t) (add-hook 'magit-log-edit-mode-hook #'(lambda () (set-fill-column 72) (flyspell-mode))))) (provide 'fcuny-magit)