From 80532921bb12f7374bdd8daf4cd8629cb6856007 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 18 Oct 2019 21:23:02 -0400 Subject: [PATCH] Highlight urls in buffers as links --- core/core-ui.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/core-ui.el b/core/core-ui.el index d9dd1d099..c795e477e 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -391,6 +391,13 @@ treat Emacs as a non-application window." (set-window-configuration doom--ediff-saved-wconf))))) +(use-package! goto-addr + :hook (text-mode . goto-address-mode) + :hook (prog-mode . goto-address-prog-mode) + :config + (define-key goto-address-highlight-keymap (kbd "RET") #'goto-address-at-point)) + + (use-package! hl-line ;; Highlights the current line :hook ((prog-mode text-mode conf-mode) . hl-line-mode)