Fix mu4e hl-line-mode and disable blink-cursor-mode

This commit is contained in:
Alexander Rosenberg 2024-01-04 00:30:51 -08:00
parent 9712776019
commit d1c289d6e6
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -62,6 +62,7 @@
;; Make cursor more visible ;; Make cursor more visible
(global-hl-line-mode 1) (global-hl-line-mode 1)
(blink-cursor-mode -1)
;; Spell stuff ;; Spell stuff
(setq ispell-program-name "hunspell" (setq ispell-program-name "hunspell"
@ -739,7 +740,7 @@ COMMAND and COMINT are like `compile'."
:init :init
(defun my/setup-pdf-view-mode () (defun my/setup-pdf-view-mode ()
(display-line-numbers-mode -1) (display-line-numbers-mode -1)
(setq-local blink-cursor-mode nil)) (setq-local cursor-type nil))
(pdf-tools-install)) (pdf-tools-install))
;; calc ;; calc
@ -1127,7 +1128,7 @@ If no name is given, list all bookmarks instead."
(require 'mu4e) (require 'mu4e)
(evil-define-key '(normal motion) mu4e-main-mode-map "q" #'bury-buffer) (evil-define-key '(normal motion) mu4e-main-mode-map "q" #'bury-buffer)
(defun my/-mu4e-setup-view-mode () (defun my/-mu4e-setup-view-mode ()
(setq global-hl-line-mode nil)) (setq-local global-hl-line-mode nil))
(defun my/-mu4e-setup-main-mode () (defun my/-mu4e-setup-main-mode ()
(setq-local default-directory "~/")) (setq-local default-directory "~/"))
(defun my/-mu4e-enable-index-messages () (defun my/-mu4e-enable-index-messages ()