diff options
author | Alan Pearce | 2015-11-28 15:36:38 +0100 |
---|---|---|
committer | Alan Pearce | 2015-11-28 15:36:38 +0100 |
commit | 4a4e6b10b6bd4ca58f0d2b039e3211d404c20c24 (patch) | |
tree | 69588d198d46dae7f821b4837f8d21898986d6d7 | |
parent | 4c4ae9fbc209ce7c3b681f00b52cd24ed9407efa (diff) | |
download | dotfiles-4a4e6b10b6bd4ca58f0d2b039e3211d404c20c24.tar.lz dotfiles-4a4e6b10b6bd4ca58f0d2b039e3211d404c20c24.tar.zst dotfiles-4a4e6b10b6bd4ca58f0d2b039e3211d404c20c24.zip |
Emacs: Fix smartparens keymap warnings
-rw-r--r-- | tag-emacs/emacs.d/init.org | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 5623b99..8750d25 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -2326,19 +2326,19 @@ nice as the real version :config (progn (sp-use-smartparens-bindings) (fset 'wrap-with-paren "\C-](") ;; `sp-select-next-thing-exchange' - (bind-key "C-(" #'wrap-with-paren sp-keymap) - (bind-key "C-)" #'sp-forward-slurp-sexp sp-keymap) - (bind-key "M-<backspace>" #'backward-kill-word sp-keymap) - (bind-key "M-?" #'sp-convolute-sexp sp-keymap) - (bind-key "C-M-t" #'sp-transpose-sexp sp-keymap) - (bind-key "M-r" #'sp-raise-sexp sp-keymap) - (bind-key "M-s" #'sp-splice-sexp sp-keymap) - (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) + (bind-key "C-(" #'wrap-with-paren smartparens-mode-map) + (bind-key "C-)" #'sp-forward-slurp-sexp smartparens-mode-map) + (bind-key "M-<backspace>" #'backward-kill-word smartparens-mode-map) + (bind-key "M-?" #'sp-convolute-sexp smartparens-mode-map) + (bind-key "C-M-t" #'sp-transpose-sexp smartparens-mode-map) + (bind-key "M-r" #'sp-raise-sexp smartparens-mode-map) + (bind-key "M-s" #'sp-splice-sexp smartparens-mode-map) + (bind-key "M-S" #'sp-split-sexp smartparens-mode-map) + (bind-key "M-J" #'sp-join-sexp smartparens-mode-map) + (bind-key "M-<up>" #'sp-splice-sexp-killing-backward smartparens-mode-map) + (bind-key "M-<down>" #'sp-splice-sexp-killing-forward smartparens-mode-map) + (bind-key "C-M-S-k" #'sp-kill-hybrid-sexp smartparens-mode-map) + (bind-key "C-S-<right>" #'sp-slurp-hybrid-sexp smartparens-mode-map) (sp-with-modes '(web-mode twig-mode) (sp-local-pair "{%" "%}") (sp-local-pair "{{" "}}")) |