switch to magit when switching project
This commit is contained in:
@@ -42,7 +42,6 @@
|
|||||||
(require 'org-roam)
|
(require 'org-roam)
|
||||||
;; make sure that org-timer works and org-pomodoro therefore. Limit the number of agenda files searched
|
;; make sure that org-timer works and org-pomodoro therefore. Limit the number of agenda files searched
|
||||||
;; plus a utility function for flattening, since that is not part of the standard library of emacs
|
;; plus a utility function for flattening, since that is not part of the standard library of emacs
|
||||||
|
|
||||||
(setq org-agenda-files
|
(setq org-agenda-files
|
||||||
(seq-map
|
(seq-map
|
||||||
'car
|
'car
|
||||||
@@ -215,6 +214,9 @@
|
|||||||
;; When? after stage, unstage or commit an error appears in messages.
|
;; When? after stage, unstage or commit an error appears in messages.
|
||||||
(after!
|
(after!
|
||||||
(magit) (remove-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))
|
(magit) (remove-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))
|
||||||
|
|
||||||
|
(after! projectile
|
||||||
|
(setq counsel-projectile-switch-project-action #'magit-status))
|
||||||
;; HACK show small snippets for backlinks preview in roam-buffer
|
;; HACK show small snippets for backlinks preview in roam-buffer
|
||||||
;; there is currently a problem in org-mode that shows an error
|
;; there is currently a problem in org-mode that shows an error
|
||||||
;; org-element--cache: Unregistered buffer modifications detected. Resetting. but this also happens without this function, it appears to be an interaction between org-roam and changes in orgmode.
|
;; org-element--cache: Unregistered buffer modifications detected. Resetting. but this also happens without this function, it appears to be an interaction between org-roam and changes in orgmode.
|
||||||
|
|||||||
Reference in New Issue
Block a user