ui/doom: centralize doom-buffer-mode activation

This commit is contained in:
Henrik Lissner 2017-05-16 11:39:03 +02:00
parent 4ede35129d
commit d8e3d853a9
8 changed files with 12 additions and 21 deletions

View file

@ -75,7 +75,15 @@
(add-hook 'doom-popup-mode-hook #'+doom|buffer-mode-off)
;;
(add-hook '+workspaces-load-session-hook #'+doom|restore-bright-buffers))
(add-hook '+workspaces-load-session-hook #'+doom|restore-bright-buffers)
;; Extra modes to activate doom-buffer-mode in
(add-hook! (gist-mode
twittering-mode
mu4e-view-mode
org-tree-slide-mode
+regex-mode)
#'doom-buffer-mode))
;; Flashes the line around the cursor after any motion command that might