diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 15 |
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 |