Fix magit definition to use magit-delta now

Remove private config shortcut from dashboard
This commit is contained in:
Evie Litherland-Smith 2023-10-20 14:00:57 +01:00
parent 4663abd15f
commit 581295af0a

View file

@ -52,10 +52,6 @@
("Jump to bookmark" ("Jump to bookmark"
:icon (nerd-icons-mdicon "nf-md-bookmark" :face 'doom-dashboard-menu-title) :icon (nerd-icons-mdicon "nf-md-bookmark" :face 'doom-dashboard-menu-title)
:action bookmark-jump) :action bookmark-jump)
("Open private configuration"
:icon (nerd-icons-mdicon "nf-md-tools" :face 'doom-dashboard-menu-title)
:when (file-directory-p doom-user-dir)
:action doom/open-private-config)
("Open documentation" ("Open documentation"
:icon (nerd-icons-mdicon "nf-md-book" :face 'doom-dashboard-menu-title) :icon (nerd-icons-mdicon "nf-md-book" :face 'doom-dashboard-menu-title)
:action doom/help))) :action doom/help)))
@ -71,8 +67,11 @@
+workspaces-switch-project-function 'doom-project-browse +workspaces-switch-project-function 'doom-project-browse
+workspaces-on-switch-project-behavior t)) +workspaces-on-switch-project-behavior t))
(after! (magit magit-delta) (after! magit
(add-hook 'magit-mode-hook (lambda () (magit-delta-mode +1)))) (require 'magit-delta)
(setq magit-clone-default-directory "~/Projects/")
(after! magit-delta
(add-hook 'magit-mode-hook (lambda () (magit-delta-mode +1)))))
;; mail settings ;; mail settings
(after! mu4e (after! mu4e