Configure the built-in goto-addr package

This commit is contained in:
Gergely Polonkai 2018-09-24 09:36:24 +02:00
parent d13f273a24
commit fbb7b76bbd

View File

@ -1317,6 +1317,21 @@ The cookies are from the Hungarian version an ancient MS-DOS based program calle
:ensure nil) :ensure nil)
#+END_SRC #+END_SRC
** Actionable URLs
#+BEGIN_SRC emacs-lisp
(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))
#+END_SRC
* ~use-package~ packages * ~use-package~ packages
** Automatically upgrade packages every week ** Automatically upgrade packages every week