Add return binding for paredit

master
Jacopo De Simoi 3 years ago
parent 978acddacc
commit 915a5b8954
  1. 4
      global.org

@ -1705,6 +1705,10 @@
(add-hook 'scheme-mode-hook #'enable-paredit-mode)
(require 'highlight-parentheses)
(with-eval-after-load 'paredit
(define-key paredit-mode-map (kbd "<return>") #'paredit-open-round)
(define-key paredit-mode-map (kbd "C-<return>") #'paredit-wrap-round))
(defun hydra-paren/hl-paren-force-fix ()
;;; This is needed b/c hl-parent caches the point position and
;;; refuses to update if the point did not move

Loading…
Cancel
Save