From b971656360f03e62f03f122a2240c0e61de02b96 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 2 Mar 2017 15:23:15 +0900 Subject: [PATCH] Update groovy-mode keybind --- emacs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs.el b/emacs.el index ee3c66b..aaa81ca 100644 --- a/emacs.el +++ b/emacs.el @@ -899,6 +899,7 @@ found, otherwise returns nil." (defvar groovy-mode-map (make-sparse-keymap)) (define-key groovy-mode-map "(" 'self-insert-command) (define-key groovy-mode-map ")" 'self-insert-command) + (define-key groovy-mode-map (kbd "C-m") 'newline-and-indent) ) (add-to-list 'auto-mode-alist '("build\\.gradle\\'" . groovy-mode)))