Simplify magit-todos-mode startup
This commit is contained in:
parent
c33de42dce
commit
6d0b274774
1 changed files with 1 additions and 7 deletions
|
@ -42,15 +42,9 @@ load everything.")
|
|||
|
||||
|
||||
(def-package! magit-todos
|
||||
:after magit
|
||||
:hook (magit-mode . magit-todos-mode)
|
||||
: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))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue