Some changes
This commit is contained in:
parent
4c2d2a00b8
commit
ca814209d3
10
init.el
10
init.el
@ -496,7 +496,7 @@ visual states."
|
||||
(use-package eldoc
|
||||
:diminish eldoc-mode
|
||||
:init
|
||||
(setq-default eldoc-echo-area-use-multiline-p 'truncate-sym-name-if-fit))
|
||||
(setq-default eldoc-echo-area-use-multiline-p nil))
|
||||
|
||||
;; eglot
|
||||
(use-package eglot
|
||||
@ -530,8 +530,7 @@ visual states."
|
||||
(switch-to-buffer-other-window buff t)))))))))
|
||||
(defun my/-eglot-setup ()
|
||||
"Setup eldoc variables for `eglot-managed-mode-hook'."
|
||||
(setq-local eldoc-echo-area-use-multiline-p nil
|
||||
evil-lookup-func #'my/eglot-documentation-at-point)
|
||||
(setq-local evil-lookup-func #'my/eglot-documentation-at-point)
|
||||
(evil-define-key '(normal motion) 'local
|
||||
"K" #'evil-lookup
|
||||
"gR" #'eglot-rename
|
||||
@ -1117,7 +1116,8 @@ If no name is given, list all bookmarks instead."
|
||||
:ensure nil
|
||||
:defer nil
|
||||
:hook ((mu4e-index-updated . my/-mu4e-enable-index-messages)
|
||||
(mu4e-main-mode . my/-mu4e-setup-main-mode))
|
||||
(mu4e-main-mode . my/-mu4e-setup-main-mode)
|
||||
(mu4e-view-mode . my/-mu4e-setup-view-mode))
|
||||
:bind (("C-x C-m" . mu4e)
|
||||
("C-x m" . mu4e-compose-new)
|
||||
:map message-mode-map
|
||||
@ -1125,6 +1125,8 @@ If no name is given, list all bookmarks instead."
|
||||
:init
|
||||
(require 'mu4e)
|
||||
(evil-define-key '(normal motion) mu4e-main-mode-map "q" #'bury-buffer)
|
||||
(defun my/-mu4e-setup-view-mode ()
|
||||
(setq global-hl-line-mode nil))
|
||||
(defun my/-mu4e-setup-main-mode ()
|
||||
(setq-local default-directory "~/"))
|
||||
(defun my/-mu4e-enable-index-messages ()
|
||||
|
Loading…
Reference in New Issue
Block a user