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
1 changed files with 15 additions and 0 deletions

View File

@ -1317,6 +1317,21 @@ The cookies are from the Hungarian version an ancient MS-DOS based program calle
:ensure nil)
#+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
** Automatically upgrade packages every week