Commit e1ba9906abcf

Vincent Demeester <vincent@sbr.pm>
2018-08-27 15:37:52
Add actionable urls in some emacs buffer
… eshell/shell modes, compilaiton, … http://xenodium.com/#actionable-urls-in-emacs-buffers Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent e14f104
Changed files (1)
lisp/vde-shells.el
@@ -36,6 +36,17 @@
                         shell-mode-map)))
   )
 
+(use-package goto-addr
+  :hook ((compilation-mode . goto-address-mode)
+         (prog-mode . goto-address-prog-mode)
+         (eshell-mode . goto-address-mode)
+         (shell-mode . goto-address-mode))
+  :bind (:map goto-address-highlight-keymap
+              ("<RET>" . goto-address-at-point)
+              ("M-<RET>" . newline))
+  :commands (goto-address-prog-mode
+             goto-address-mode))
+
 (use-package shx                        ; Enhance comint-mode
   :defer 2
   :init (shx-global-mode 1))