summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-21 07:45:22 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-21 07:45:22 +0200
commit936fa945a952a376ddb034ded11bc91cd931820d (patch)
tree3a047a01416a2e26d725779119c889dc20aba9a0
parent947aec1fd55d88b32c8df42c86ac05047087f0e0 (diff)
emacs: Disable magit
-rw-r--r--.config/emacs/init.el43
1 files 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"