all repos — archive/dotfiles @ c75e0f981df4f438cf9da37f9c3a9b91df76f84a

Superseded by nixfiles

Emacs: Add ace-link
Alan Pearce alan@alanpearce.uk
Tue, 07 Mar 2017 16:31:03 +0100
commit

c75e0f981df4f438cf9da37f9c3a9b91df76f84a

parent

d1bf36ed1e8dc1a3ec5d2a99aa6d335dd3381246

1 files changed, 14 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -2354,6 +2354,20 @@ (setq avy-all-windows nil                   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