From f2df84c819bc34b4c24f3e53cfd9231bb42f156a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 4 Mar 2019 23:54:16 -0800 Subject: [PATCH] Add goto-address-prog-mode to prog-mode --- oni-core.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oni-core.el b/oni-core.el index 9f194ca..5b3af65 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190303195344 +;; Version: 20190304234446 ;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace) ;; This program is free software; you can redistribute it and/or modify @@ -78,6 +78,7 @@ (add-hook 'before-save-hook 'time-stamp) (add-hook 'electric-indent-local-mode-hook #'oni-core--switch-newline-keys) (add-hook 'minibuffer-setup-hook 'electric-pair-local-mode) +(add-hook 'prog-mode-hook 'goto-address-prog-mode) (global-set-key (kbd "C-M-SPC") 'er/expand-region) (global-set-key (kbd "M-+") 'mc/mark-next-like-this)