From d0923610979a2d0abc63c6dd03aa56bbd6fea7ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sun, 27 Oct 2024 17:13:41 -0700 Subject: emacs: mv magit.el to package rul-vc --- .emacs.d/rul-lisp/packages/rul-vc.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .emacs.d/rul-lisp/packages/rul-vc.el (limited to '.emacs.d/rul-lisp/packages/rul-vc.el') diff --git a/.emacs.d/rul-lisp/packages/rul-vc.el b/.emacs.d/rul-lisp/packages/rul-vc.el new file mode 100644 index 0000000..c57e950 --- /dev/null +++ b/.emacs.d/rul-lisp/packages/rul-vc.el @@ -0,0 +1,18 @@ +(use-package magit + :ensure t + :bind + (("C-c g s" . magit-status) + ("C-c g b" . magit-blame)) + :config + (progn + (defun inkel/magit-log-edit-mode-hook () + (flyspell-mode t) + (turn-on-auto-fill)) + (defadvice magit-status (around magit-fullscreen activate) + (window-configuration-to-register :magit-fullscreen) + ad-do-it + (delete-other-windows)))) + +(add-to-list 'project-switch-commands '(magit-project-status "Magit" "m")) + +(provide 'rul-vc) -- cgit v1.2.3