summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2022-11-15 19:51:40 -0600
committerCase Duckworth2022-11-15 19:51:40 -0600
commit41afd084ba6ea7cab92a1160cc62ef75ffe2a946 (patch)
tree46aaa355d7f0e033e93b7ab8a70b2182b3dc5e4b /init.el
parentCustomize browse-url (diff)
downloademacs-41afd084ba6ea7cab92a1160cc62ef75ffe2a946.tar.gz
emacs-41afd084ba6ea7cab92a1160cc62ef75ffe2a946.zip
Add link-hint
Diffstat (limited to 'init.el')
-rw-r--r--init.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/init.el b/init.el index 0bd11d4..bf52e4f 100644 --- a/init.el +++ b/init.el
@@ -906,6 +906,21 @@ CAPES defaults to `+capes'. CAPF will be made un-exclusive."
906 (sesman "https://github.com/vspinu/sesman")) 906 (sesman "https://github.com/vspinu/sesman"))
907 :when (executable-find "clojure")) 907 :when (executable-find "clojure"))
908 908
909(yoke (link-hint "https://github.com/noctuid/link-hint.el/")
910 :depends ((avy "https://github.com/abo-abo/avy"))
911 (require '+link-hint)
912 (+link-hint-open-secondary-setup)
913 (+link-hint-open-chrome-setup)
914 (setf link-hint-avy-style 'at-full
915 link-hint-avy-all-windows t)
916 (global-set-key (kbd "M-l") +link-hint-map)
917 (define-key* +link-hint-map
918 "M-l" #'+link-hint-open-link "l" #'+link-hint-open-link
919 "M-o" #'+link-hint-open-secondary "o" #'+link-hint-open-secondary
920 "M-m" #'+link-hint-open-multiple-links "m" #'+link-hint-open-multiple-links
921 "M-w" #'link-hint-copy-link "w" #'link-hint-copy-link
922 "M-c" #'+link-hint-open-chrome "c" #'+link-hint-open-chrome))
923
909(yoke browse-url 924(yoke browse-url
910 (require '+browse-url) 925 (require '+browse-url)
911 (setf browse-url-browser-function #'eww-browse-url 926 (setf browse-url-browser-function #'eww-browse-url