Consider magit buffers real
So they can be switched to if buried
This commit is contained in:
parent
e66abfb9e8
commit
6d218fc5a0
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,12 @@ load everything.")
|
||||||
magit-revision-show-gravatars '("^Author: " . "^Commit: "))
|
magit-revision-show-gravatars '("^Author: " . "^Commit: "))
|
||||||
|
|
||||||
(set! :popup "^\\(?:\\*magit\\|magit:\\)" :ignore)
|
(set! :popup "^\\(?:\\*magit\\|magit:\\)" :ignore)
|
||||||
|
|
||||||
|
;; Consider magit buffers real (so they can switched to)
|
||||||
|
(defun +magit-buffer-p (buf)
|
||||||
|
(with-current-buffer buf (derived-mode-p 'magit-mode)))
|
||||||
|
(add-to-list 'doom-real-buffer-functions #'+magit-buffer-p nil #'eq)
|
||||||
|
|
||||||
;; no mode-line in magit popups
|
;; no mode-line in magit popups
|
||||||
(add-hook 'magit-popup-mode-hook #'hide-mode-line-mode)
|
(add-hook 'magit-popup-mode-hook #'hide-mode-line-mode)
|
||||||
;; Clean up after magit by properly killing buffers
|
;; Clean up after magit by properly killing buffers
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue