From 20b7d4a6f9607bde463d4936b35499d134289ee1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 16 May 2017 22:20:57 +0200 Subject: [PATCH] ui/doom: fix blinking when using H/M/L jumps --- modules/ui/doom/config.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/ui/doom/config.el b/modules/ui/doom/config.el index fe14bd5fc..070b26487 100644 --- a/modules/ui/doom/config.el +++ b/modules/ui/doom/config.el @@ -126,8 +126,9 @@ (advice-add #'recenter :around #'doom*blink-cursor-maybe) (after! evil - (dolist (fn '(evil-window-bottom evil-window-middle evil-window-top)) - (advice-add fn :around #'doom*blink-cursor-maybe)))) + (advice-add #'evil-window-top :after #'doom/blink-cursor) + (advice-add #'evil-window-middle :after #'doom/blink-cursor) + (advice-add #'evil-window-bottom :after #'doom/blink-cursor))) (after! hideshow