diff options
author | David Morgan <djm_uk@protonmail.com> | 2023-06-19 13:10:05 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2023-06-19 13:10:05 +0100 |
commit | 743b12976a59d2f3a1a3497dd9bdfc42ab85bf0d (patch) | |
tree | 2b9e99fb6b18fe0b01224a2a1da3fff13bf7c526 | |
parent | 361056268e4ac40fc530bed9e40a320fd2ab63c8 (diff) | |
download | dotfiles-743b12976a59d2f3a1a3497dd9bdfc42ab85bf0d.tar.gz |
Bind both sp-kill-sexp and kill-sexp
-rw-r--r-- | .emacs.d/lisp/init-smartparens.el | 3 |
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) |