From c893e67b3c0c593fff9f4e5898a12ec6f1976bf4 Mon Sep 17 00:00:00 2001 From: noa Date: Mon, 17 Feb 2025 02:27:48 +0800 Subject: Add M-j for avy binding --- emacs/init.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index a6b5777..a915914 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -615,6 +615,14 @@ With prefix argument TIME, also add the current time." (isearch-repeat-on-direction-change t) (isearch-wrap-pause 'no)) +(use-package avy + :bind (("M-j" . avy-goto-char-timer) + :map isearch-mode-map + ("M-j" . avy-isearch)) + :custom + (avy-keys (number-sequence ?a ?z)) + (avy-timeout-seconds 0.2)) + ;; Make window management commands easier to press (use-package ace-window :bind ([remap other-window] . ace-window)) -- cgit 1.4.1-2-gfad0