1
0
Fork 0

Add goto-address-prog-mode to prog-mode

This commit is contained in:
Tom Willemse 2019-03-04 23:54:16 -08:00
parent ae9cc7cad3
commit f2df84c819

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190303195344 ;; Version: 20190304234446
;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace) ;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace)
;; This program is free software; you can redistribute it and/or modify ;; 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 'before-save-hook 'time-stamp)
(add-hook 'electric-indent-local-mode-hook #'oni-core--switch-newline-keys) (add-hook 'electric-indent-local-mode-hook #'oni-core--switch-newline-keys)
(add-hook 'minibuffer-setup-hook 'electric-pair-local-mode) (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 "C-M-SPC") 'er/expand-region)
(global-set-key (kbd "M-+") 'mc/mark-next-like-this) (global-set-key (kbd "M-+") 'mc/mark-next-like-this)