summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob L. Kreuze2019-06-21 09:18:51 -0400
committerJakob L. Kreuze2019-06-21 09:19:38 -0400
commit636a45d7c785f2d99cb309a4518994b9936f8c3c (patch)
treedaa0639bbdd19190303b9914dd10bfae5858e787
parent95375be9f167f73708258beaa44ac73f3d8026c6 (diff)
Automatically enable parens in most REPL modes
-rw-r--r--jakob.org4
1 files changed, 3 insertions, 1 deletions
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

© 2015 - 2026 Jakob L. Kreuze