tools/magit: add magit-todos package
This commit is contained in:
parent
76d90e752f
commit
eddac86824
2 changed files with 14 additions and 0 deletions
|
@ -41,6 +41,19 @@ load everything.")
|
||||||
(def-package! magit-blame :after git-timemachine)
|
(def-package! magit-blame :after git-timemachine)
|
||||||
|
|
||||||
|
|
||||||
|
(def-package! magit-todos
|
||||||
|
:after magit
|
||||||
|
:config
|
||||||
|
(setq magit-todos-require-colon nil)
|
||||||
|
;; `magit-todos-mode' defines keybinds on activation, so it's better to just
|
||||||
|
;; do this manually:
|
||||||
|
(magit-add-section-hook 'magit-status-sections-hook
|
||||||
|
#'magit-todos--insert-todos
|
||||||
|
'magit-insert-staged-changes
|
||||||
|
'append)
|
||||||
|
(define-key magit-todos-section-map "j" nil))
|
||||||
|
|
||||||
|
|
||||||
(def-package! magithub
|
(def-package! magithub
|
||||||
:after magit
|
:after magit
|
||||||
:preface
|
:preface
|
||||||
|
|
|
@ -4,5 +4,6 @@
|
||||||
(when (package! magit)
|
(when (package! magit)
|
||||||
(package! magit-gitflow)
|
(package! magit-gitflow)
|
||||||
(package! magithub)
|
(package! magithub)
|
||||||
|
(package! magit-todos)
|
||||||
(when (featurep! :feature evil +everywhere)
|
(when (featurep! :feature evil +everywhere)
|
||||||
(package! evil-magit)))
|
(package! evil-magit)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue