Hide mode-line in org-roam buffer
This commit is contained in:
parent
2de08ef4d6
commit
166d1ecabc
1 changed files with 8 additions and 1 deletions
|
@ -40,7 +40,14 @@
|
||||||
(cond ((featurep! :completion helm) 'helm)
|
(cond ((featurep! :completion helm) 'helm)
|
||||||
((featurep! :completion ivy) 'ivy)
|
((featurep! :completion ivy) 'ivy)
|
||||||
((featurep! :completion ido) 'ido)
|
((featurep! :completion ido) 'ido)
|
||||||
('default))))
|
('default)))
|
||||||
|
|
||||||
|
;; HACK Hide the mode line in the org-roam buffer, since it serves no purpose.
|
||||||
|
;; This makes it easier to distinguish among other org buffers.
|
||||||
|
(defadvice! +org--hide-mode-line-a (&rest _)
|
||||||
|
:after #'org-roam-buffer--get-create
|
||||||
|
(with-current-buffer org-roam-buffer
|
||||||
|
(hide-mode-line-mode +1))))
|
||||||
|
|
||||||
|
|
||||||
;; Since the org module lazy loads org-protocol (waits until an org URL is
|
;; Since the org module lazy loads org-protocol (waits until an org URL is
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue