From c42e2c8b29aae4f4b2679caeab88e768d2a08371 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 30 Oct 2022 03:14:41 +0000 Subject: no easy escape --- attic/elisp/misc.el | 9 +++++++++ init.el | 12 +++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el index 58cb9bb..dda3afe 100644 --- a/attic/elisp/misc.el +++ b/attic/elisp/misc.el @@ -52,6 +52,15 @@ :init (add-hook 'prog-mode-hook #'smartscan-mode) :diminish) +;;; easy escape +(use-package easy-escape + :ensure t + :config + (set-face-attribute 'easy-escape-face nil :underline t) + (set-face-attribute 'easy-escape-delimiter-face nil :underline t) + :hook (emacs-lisp-mode . easy-escape-minor-mode) + :diminish (easy-escape-minor-mode . "^")) + ;;; vterm (use-package vterm :ensure t diff --git a/init.el b/init.el index 6a05ed3..a062791 100644 --- a/init.el +++ b/init.el @@ -1925,7 +1925,9 @@ (advice-add 'symbol-overlay-basic-jump :after 'jao-symbol-reveal) :bind (:map prog-mode-map (("M-i" . symbol-overlay-put) ("M-n" . symbol-overlay-switch-forward) - ("M-p" . symbol-overlay-switch-backward)))) + ("M-p" . symbol-overlay-switch-backward))) + :hook (prog-mode . symbol-overlay-mode) + :diminish " ^") ;;;; eglot (use-package eglot @@ -2064,14 +2066,6 @@ (use-package edit-list :ensure t) (use-package package-lint :ensure t) -(use-package easy-escape - :ensure t - :config - (set-face-attribute 'easy-escape-face nil :underline t) - (set-face-attribute 'easy-escape-delimiter-face nil :underline t) - :hook (emacs-lisp-mode . easy-escape-minor-mode) - :diminish (easy-escape-minor-mode . "^")) - (defun elisp-disassemble (function) (interactive (list (function-called-at-point))) (disassemble function)) -- cgit v1.2.3