summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-03-07 16:31:03 +0100
committerAlan Pearce2017-03-07 16:31:03 +0100
commitc75e0f981df4f438cf9da37f9c3a9b91df76f84a (patch)
tree3bf1f3481e2d9e0d0dab6f18c26dc57d3193a943
parentd1bf36ed1e8dc1a3ec5d2a99aa6d335dd3381246 (diff)
downloadnixfiles-c75e0f981df4f438cf9da37f9c3a9b91df76f84a.tar.lz
nixfiles-c75e0f981df4f438cf9da37f9c3a9b91df76f84a.tar.zst
nixfiles-c75e0f981df4f438cf9da37f9c3a9b91df76f84a.zip
Emacs: Add ace-link
-rw-r--r--tag-emacs/emacs.d/init.org14
1 files changed, 14 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index e8557f35..df5069cf 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -2354,6 +2354,20 @@ somehow I prefer it.
                   avy-keys '(?a ?r ?s ?t ?d ?h ?n ?e ?i ?\;))))
 #+END_SRC
 
+*** ace-link
+
+Visit any link.  Despite the name, this works with avy.
+
+#+BEGIN_SRC emacs-lisp
+(use-package ace-link
+  :after avy
+  :config (progn
+            (ace-link-setup-default)
+            (with-eval-after-load "gnus"
+              (bind-key "M-o" #'ace-link-gnus gnus-summary-mode-map)
+              (bind-key "M-o" #'ace-link-gnus gnus-article-mode-map))))
+#+END_SRC
+
 ** goto-chg
 
 This is like popping the mark, only it filters to only change areas