From 636a45d7c785f2d99cb309a4518994b9936f8c3c Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Fri, 21 Jun 2019 09:18:51 -0400 Subject: Automatically enable parens in most REPL modes --- jakob.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jakob.org b/jakob.org index a11f214..dbf120c 100644 --- a/jakob.org +++ b/jakob.org @@ -2068,11 +2068,13 @@ Enable the Smartparens-flavored replacement for =show-paren-mode=. (show-smartparens-global-mode t) #+END_SRC -Enable Smartparens in all modes derived from =prog-mode=. +Enable Smartparens in all modes derived from =prog-mode= or =comint-mode=, the +latter hopefully covering all REPL cases. #+BEGIN_SRC elisp :hook (prog-mode . turn-on-smartparens-mode) + (comint-mode . turn-on-smartparens-mode) #+END_SRC Rebind the default keys for manipulating sexps to the alternatives suggested in -- cgit v1.3