about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2023-06-19 13:10:05 +0100
committerDavid Morgan <djm_uk@protonmail.com>2023-06-19 13:10:05 +0100
commit743b12976a59d2f3a1a3497dd9bdfc42ab85bf0d (patch)
tree2b9e99fb6b18fe0b01224a2a1da3fff13bf7c526
parent361056268e4ac40fc530bed9e40a320fd2ab63c8 (diff)
downloaddotfiles-743b12976a59d2f3a1a3497dd9bdfc42ab85bf0d.tar.gz
Bind both sp-kill-sexp and kill-sexp
-rw-r--r--.emacs.d/lisp/init-smartparens.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-smartparens.el b/.emacs.d/lisp/init-smartparens.el
index 3b8729e..daac2dc 100644
--- a/.emacs.d/lisp/init-smartparens.el
+++ b/.emacs.d/lisp/init-smartparens.el
@@ -89,7 +89,8 @@ Equivalent to raising then wrapping."
   :bind (:map smartparens-mode-map
               ("C-M-?" . sp-convolute-sexp)
               ([remap mark-sexp] . sp-mark-sexp)
-              ([remap kill-sexp] . sp-kill-sexp)
+              ("C-M-k" . sp-kill-sexp)
+              ("M-S-k" . kill-sexp)
               ([remap sp-forward-sexp] . sp-fwd-sexp)
               ([remap sp-backward-sexp] . sp-bwd-sexp)
               ("M-[" . sp-wrap-square)
/div>
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47