ui/doom: blink on focus-in & refactor
This commit is contained in:
parent
4fcfec6344
commit
b4917bfa2a
1 changed files with 3 additions and 3 deletions
|
@ -44,8 +44,7 @@
|
||||||
(load-theme +doom-theme t)
|
(load-theme +doom-theme t)
|
||||||
|
|
||||||
;; nlinum line highlighting
|
;; nlinum line highlighting
|
||||||
(when (featurep 'nlinum)
|
(doom-themes-nlinum-config)
|
||||||
(doom-themes-nlinum-config))
|
|
||||||
|
|
||||||
;; Add file icons to doom-neotree
|
;; Add file icons to doom-neotree
|
||||||
(doom-themes-neotree-config)
|
(doom-themes-neotree-config)
|
||||||
|
@ -78,7 +77,7 @@
|
||||||
(doom-buffer-mode -1)))
|
(doom-buffer-mode -1)))
|
||||||
(add-hook 'doom-popup-mode-hook #'+doom|buffer-mode-off)
|
(add-hook 'doom-popup-mode-hook #'+doom|buffer-mode-off)
|
||||||
|
|
||||||
;;
|
;; restore `doom-buffer-mode' when loading a persp-mode session
|
||||||
(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
|
;; Extra modes to activate doom-buffer-mode in
|
||||||
|
@ -125,6 +124,7 @@
|
||||||
;; NOTE In :feature jump `recenter' is hooked to a bunch of jumping commands,
|
;; NOTE In :feature jump `recenter' is hooked to a bunch of jumping commands,
|
||||||
;; which will trigger nav-flash.
|
;; which will trigger nav-flash.
|
||||||
|
|
||||||
|
(add-hook 'focus-in-hook #'+doom/blink-cursor)
|
||||||
(advice-add #'windmove-do-window-select :around #'+doom*blink-cursor-maybe)
|
(advice-add #'windmove-do-window-select :around #'+doom*blink-cursor-maybe)
|
||||||
(advice-add #'recenter :around #'+doom*blink-cursor-maybe)
|
(advice-add #'recenter :around #'+doom*blink-cursor-maybe)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue