From 936fa945a952a376ddb034ded11bc91cd931820d Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 21 Sep 2024 07:45:22 +0200 Subject: emacs: Disable magit --- .config/emacs/init.el | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index a82483c..2d045fb 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -359,26 +359,29 @@ indentation-width.") (x-set-indentation-settings) ;;; Git Integration -(use-package magit - :custom - (magit-display-buffer-function - #'magit-display-buffer-same-window-except-diff-v1)) +(x-comment + (use-package magit + :custom + (magit-display-buffer-function + #'magit-display-buffer-same-window-except-diff-v1))) -(use-package magit-todos - :after magit - :init (magit-todos-mode) - :custom - (magit-todos-exclude-globs '(".git/" "vendor/"))) +(x-comment + (use-package magit-todos + :after magit + :init (magit-todos-mode) + :custom + (magit-todos-exclude-globs '(".git/" "vendor/")))) -(defun x-magit-status () - (interactive) - (thread-last - (project-current t) - (project-root) - (magit-status))) +(x-comment + (defun x-magit-status () + (interactive) + (thread-last + (project-current t) + (project-root) + (magit-status))) -(require 'project) -(add-to-list 'project-switch-commands '(x-magit-status "Git status" ?g)) + (require 'project) + (add-to-list 'project-switch-commands '(x-magit-status "Git status" ?g))) ;;; Tree-Sitter (when (treesit-available-p) @@ -848,9 +851,9 @@ the comparison of the ‘company-pseudo-tooltip-overlay’ height and 0 using PR ("a" x-evil-align-regexp) ("s" x-evil-sort-lines) - :normal - :prefix "g" - ("g" magit-status) + ;; :normal + ;; :prefix "g" + ;; ("g" magit-status) :normal :prefix "h" -- cgit v1.2.3