From 38593df6bb457fc3940fcef1d93976cd56b0a2d0 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 26 May 2024 14:00:34 -0700 Subject: massive cleanup --- config/init-git.el | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 config/init-git.el (limited to 'config/init-git.el') diff --git a/config/init-git.el b/config/init-git.el deleted file mode 100644 index a0a9e25..0000000 --- a/config/init-git.el +++ /dev/null @@ -1,50 +0,0 @@ -;;; init-git.el --- configure git -*- lexical-binding: t -*- -;; Author: Franck Cuny - -;;; Commentary: - -;; Configuration for git - -;;; Code: - -(require 'init-util) - -(use-package magit - :ensure t - :bind ("C-x g" . magit-status) - :custom - (magit-diff-refine-hunk t) - (magit-clone-default-directory "~/workspace/") - (git-commit-major-mode 'markdown-mode) - :config - ;; show ANSI colors in the process buffer, so it's easier to read what's going on - ;; for some reasons if it's in the `:custom' section it does not get set - (setq magit-process-finish-apply-ansi-colors t)) - -(use-package vc - :defer t - :custom - (vc-command-messages t) - (vc-follow-symlinks t)) - -(use-package git-link - :defines git-link-remote-alist - :ensure t - :bind ("C-c Y" . git-link) - :commands (git-link git-link-commit git-link-homepage) - :custom - (git-link-open-in-browser t) - :config - ;; sets up roblox git enterprise as a git-link handler - (add-to-list 'git-link-remote-alist '("github\\.rblx\\.com" git-link-github)) - (add-to-list 'git-link-commit-remote-alist '("github\\.rblx\\.com" git-link-commit-github))) - -(use-package transient - :defer t - :custom - (transient-history-file (user-data "transient/history.el")) - (transient-values-file (user-data "transient/values.el"))) - -(provide 'init-git) - -;;; init-git.el ends here -- cgit 1.4.1