core-ui: fix doom-hide-modeline-mode resetting on major-mode changes
This commit is contained in:
parent
df65c93572
commit
9e084c18ba
6 changed files with 17 additions and 13 deletions
|
@ -16,9 +16,8 @@
|
|||
twittering-initial-timeline-spec-string
|
||||
'(":home" ":mentions" ":direct_messages"))
|
||||
|
||||
(set! :popup "*twittering-edit*" :size 12 :select t :modeline nil)
|
||||
(set! :popup "*twittering-edit*" :size 12 :select t)
|
||||
|
||||
(add-hook 'twittering-edit-mode-hook #'doom-hide-modeline-mode)
|
||||
(after! doom-themes
|
||||
(add-hook 'twittering-mode-hook #'doom-buffer-mode))
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ invokes the repl. Takes the same arguements as `rtog/add-repl'."
|
|||
(add-hook 'quickrun/mode-hook #'linum-mode)
|
||||
|
||||
:config
|
||||
(set! :popup "*quickrun*" :size 10)
|
||||
(set! :popup "*quickrun*" :size 10 :noesc t :autokill t :autoclose t)
|
||||
|
||||
;; don't auto-focus quickrun windows. Shackle handles that for us.
|
||||
(setq quickrun-focus-p nil)
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
(def-package! processing-mode
|
||||
:commands (processing-mode processing-find-sketch)
|
||||
:mode "\\.pde$"
|
||||
:init
|
||||
(add-hook 'processing-compilation-mode-hook #'doom-hide-modeline-mode)
|
||||
:config
|
||||
(set! :build 'build-sketch 'processing-mode #'processing-sketch-build)
|
||||
(set! :popup "*processing-compilation*" :size 10 :noselect t)
|
||||
|
|
|
@ -65,8 +65,6 @@ redefines its keys every time `eshell-mode' is enabled."
|
|||
(add-to-list '+eshell-buffers (current-buffer)))
|
||||
(add-hook 'eshell-mode-hook #'+eshell|init)
|
||||
|
||||
(add-hook 'eshell-mode-hook #'doom-hide-modeline-mode)
|
||||
|
||||
(add-hook! eshell-mode
|
||||
(add-hook 'evil-insert-state-exit-hook #'hl-line-mode nil t)
|
||||
(add-hook 'evil-insert-state-entry-hook (lambda () (hl-line-mode -1)) nil t))
|
||||
|
|
|
@ -4,6 +4,4 @@
|
|||
:commands (multi-term multi-term-next multi-term-prev)
|
||||
:config
|
||||
(setq multi-term-program (getenv "SHELL")
|
||||
multi-term-switch-after-close nil)
|
||||
|
||||
(add-hook 'term-mode-hook #'doom-hide-modeline-mode))
|
||||
multi-term-switch-after-close nil))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue