summary refs log tree commit diff
path: root/emacs/custom/fcuny-git.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/custom/fcuny-git.el')
-rw-r--r--emacs/custom/fcuny-git.el53
1 files changed, 0 insertions, 53 deletions
diff --git a/emacs/custom/fcuny-git.el b/emacs/custom/fcuny-git.el
deleted file mode 100644
index 83a477d..0000000
--- a/emacs/custom/fcuny-git.el
+++ /dev/null
@@ -1,53 +0,0 @@
-;;; fcuny-git --- configures git for emacs
-;;; Commentary:
-;;; Code:
-(require 'fcuny-defuns)
-(require 'fcuny-vars)
-(require 'use-package)
-
-(use-package git-modes
-  :ensure t
-  :mode
-  ("/\\.gitconfig\\'"    . gitconfig-mode)
-  ("/\\.gitmodules\\'"   . gitconfig-mode)
-  ("/\\.git/config\\'"   . gitconfig-mode)
-  ("/\\.gitignore\\'"    . gitignore-mode)
-  ("/.dockerignore\\'"   . gitignore-mode)
-  ("/\\.gitattributes//" . gitattributes-mode))
-
-(use-package magit
-  :ensure t
-  :after (flyspell)
-  :bind (("C-x g" . magit-status))
-  :custom
-  (vc-follow-symlinks t)
-  (magit-completing-read-function 'ivy-completing-read))
-
-(use-package magit-repos
-  :ensure nil
-  :after (magit)
-  :custom
-  (magit-repository-directories '(("~/workspace" . 1))))
-
-(use-package git-commit
-  :ensure t
-  :after magit
-  :hook (git-commit-mode . fcuny/git-commit-auto-fill)
-  :custom
-  (git-commit-summary-max-length 50)
-  :preface
-  (defun fcuny/git-commit-auto-fill ()
-    "Ensures that the commit body does not exceed 72 characters."
-    (setq-local fill-column 72)
-    (setq-local comment-auto-fill-only-comments nil)))
-
-(use-package git-link
-  :ensure t
-  :after magit
-  :bind (("C-c g l" . git-link)
-         ("C-c g a" . git-link-commit))
-  :custom
-  (git-link-open-in-browser 't))
-
-(provide 'fcuny-git)
-;;; fcuny-git.el ends here