summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-10-30 03:14:41 +0000
committerjao <jao@gnu.org>2022-10-30 03:14:49 +0000
commitc42e2c8b29aae4f4b2679caeab88e768d2a08371 (patch)
treeea15cd713213a929547d531108141ac74152b90a
parentfbb1571cec862d16334e14c2613f356c1c938b3c (diff)
downloadelibs-c42e2c8b29aae4f4b2679caeab88e768d2a08371.tar.gz
elibs-c42e2c8b29aae4f4b2679caeab88e768d2a08371.tar.bz2
no easy escape
-rw-r--r--attic/elisp/misc.el9
-rw-r--r--init.el12
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))