diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2018-07-17 15:12:36 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2018-07-17 15:12:36 -0700 |
commit | a7c44d60af86479436f19d151fd93f4658892d76 (patch) | |
tree | dbc2c20680da02f662863becf5c642a54bd3eb07 /emacs.d/config/fcuny-magit.el | |
parent | [emacs] Set font per operating system. (diff) | |
download | emacs.d-a7c44d60af86479436f19d151fd93f4658892d76.tar.gz |
[emacs] Simplify the configuration
Reduce the number of configuration files.
Diffstat (limited to 'emacs.d/config/fcuny-magit.el')
-rw-r--r-- | emacs.d/config/fcuny-magit.el | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/emacs.d/config/fcuny-magit.el b/emacs.d/config/fcuny-magit.el deleted file mode 100644 index 97ef7fe..0000000 --- a/emacs.d/config/fcuny-magit.el +++ /dev/null @@ -1,30 +0,0 @@ -(eval-when-compile - (require 'use-package)) - -(use-package magit - :ensure t - :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) |