Emacs: Bind smartparens hybrid commands
Alan Pearce alan@alanpearce.co.uk
Wed, 01 Oct 2014 19:45:03 +0100
1 files changed, 2 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -1074,6 +1074,8 @@ (bind-key "M-S" #'sp-split-sexp sp-keymap) (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)))