Move magit from features/version-control to new tools/magit module
This commit is contained in:
parent
d84222b6d0
commit
f8fa07d668
5 changed files with 59 additions and 17 deletions
|
@ -65,8 +65,6 @@
|
|||
(def-package! git-timemachine
|
||||
:commands (git-timemachine git-timemachine-toggle)
|
||||
:config
|
||||
(require 'magit-blame)
|
||||
|
||||
;; Sometimes I forget `git-timemachine' is enabled in a buffer, so instead of
|
||||
;; showing revision details in the minibuffer, show them in
|
||||
;; `header-line-format', which has better visibility.
|
||||
|
@ -77,19 +75,6 @@
|
|||
(add-hook 'git-timemachine-mode-hook #'evil-force-normal-state))
|
||||
|
||||
|
||||
(def-package! magit
|
||||
:defer t
|
||||
:init (load "magit-autoloads" nil t)
|
||||
:config
|
||||
(set! :popup "^\\*?magit" :ignore)
|
||||
(set! :evil-state 'magit-status-mode 'emacs)
|
||||
(after! evil
|
||||
;; Switch to emacs state only while in `magit-blame-mode', then back when
|
||||
;; its done (since it's a minor-mode).
|
||||
(add-hook! 'magit-blame-mode-hook
|
||||
(evil-local-mode (if magit-blame-mode -1 +1)))))
|
||||
|
||||
|
||||
(def-package! git-link
|
||||
:commands (git-link git-link-commit git-link-homepage))
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
(package! git-link)
|
||||
(package! git-timemachine)
|
||||
(package! gitconfig-mode)
|
||||
(package! gitignore-mode)
|
||||
(package! magit))
|
||||
(package! gitignore-mode))
|
||||
|
||||
;;; TODO +hg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue