summary refs log tree commit diff stats
path: root/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/emacs/init.el b/emacs/init.el
index b0fefcf..af79db7 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -786,9 +786,6 @@ Also returns nil if pid is nil."
           (setq autopair-blink nil
                 autopair-skip-whitespace nil)))
 
-(use-package electric-return
-  :bind (("RET" . electrify-return-if-match)))
-
 (use-package expand-region
   :bind ("C-M-SPC" . er/expand-region))
 
@@ -855,9 +852,7 @@ Also returns nil if pid is nil."
 
   (show-paren-mode t)
   (setq indent-tabs-mode nil)
-
-  (local-set-key (kbd "RET") 'electrify-return-if-match)
-  (local-set-key (kbd "C-j") 'electrify-return-if-match))
+  (local-set-key (kbd "RET") #'paredit-newline))
 
 (add-hook 'emacs-lisp-mode-hook #'ap/lisp-setup)
 (add-hook 'emacs-lisp-mode-hook #'turn-on-eldoc-mode)