From dd7e871a4bd4aa8cb6dcb89062f9baf6ee46e9dc Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 12 Nov 2023 19:40:21 +0000 Subject: [PATCH] Add some avy keymaps --- home/emacs/init.el | 6 ++++++ home/emacs/init.org | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/home/emacs/init.el b/home/emacs/init.el index 601a77a9..6212f880 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -81,6 +81,12 @@ ("C-c l C-o" . link-hint-open-all-link) ("C-c l C-c" . link-hint-copy-all-link))) +(use-package avy + :ensure t + :bind (("C-c j w" . avy-goto-word-0) + ("C-c j c" . avy-goto-char) + ("C-c j l" . avy-goto-line))) + (setq use-dialog-box nil fill-column 80 truncate-lines nil diff --git a/home/emacs/init.org b/home/emacs/init.org index 06fb452b..a19893cb 100644 --- a/home/emacs/init.org +++ b/home/emacs/init.org @@ -101,6 +101,15 @@ ("C-c l C-o" . link-hint-open-all-link) ("C-c l C-c" . link-hint-copy-all-link))) #+end_src + +** Avy keymaps +#+begin_src emacs-lisp + (use-package avy + :ensure t + :bind (("C-c j w" . avy-goto-word-0) + ("C-c j c" . avy-goto-char) + ("C-c j l" . avy-goto-line))) +#+end_src * UI #+begin_src emacs-lisp (setq use-dialog-box nil