summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-10-01 19:45:03 +0100
committerAlan Pearce2014-10-01 19:45:03 +0100
commit0959519eaa0ad9c4f0098e562da60f3bcdf01b74 (patch)
tree0656ef50c18959b06a94b959d9f4f7174b005b52
parent564b9f0c06c542bc6dd0a4e22448fd181685532c (diff)
downloadnixfiles-0959519eaa0ad9c4f0098e562da60f3bcdf01b74.tar.lz
nixfiles-0959519eaa0ad9c4f0098e562da60f3bcdf01b74.tar.zst
nixfiles-0959519eaa0ad9c4f0098e562da60f3bcdf01b74.zip
Emacs: Bind smartparens hybrid commands
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 3b9ece3f..051d2987 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1074,6 +1074,8 @@ mouse-1: Display Line and Column Mode Menu"))))))
             (bind-key "M-J" #'sp-join-sexp sp-keymap)
             (bind-key "M-<up>" #'sp-splice-sexp-killing-backward sp-keymap)
             (bind-key "M-<down>" #'sp-splice-sexp-killing-forward sp-keymap)
+            (bind-key "C-M-S-k" #'sp-kill-hybrid-sexp sp-keymap)
+            (bind-key "C-S-<right>" #'sp-slurp-hybrid-sexp sp-keymap)
             (show-smartparens-global-mode t)
             (smartparens-global-strict-mode t)))