From 862d4c7c49c1e79c68d063f0a080ca4ff182f329 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 25 Oct 2015 21:56:04 -0700 Subject: [PATCH] Revert "move binds for smartparens into :bind of use-package" This reverts commit ea40216d49b5699e2d135266beaeab3e54a431eb. --- dotfiles/emacs.d/init.el | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index e0066b96..0041a82d 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -524,18 +524,17 @@ The current directory is assumed to be the project's root otherwise." (setq paradox-execute-asynchronously t))) (use-package smartparens - :bind (:map smartparens-mode-map - ("C-{" . sp-backward-barf-sexp) - ("C-)" . sp-forward-slurp-sexp) - ("C-}" . sp-forward-barf-sexp) - ("C-(" . sp-backward-slurp-sexp)) :config (progn (require 'smartparens-config) (smartparens-global-mode 1) (sp-use-smartparens-bindings) (unbind-key "C-" smartparens-mode-map) - (unbind-key "M-" smartparens-mode-map))) + (unbind-key "M-" smartparens-mode-map) + (bind-key "C-)" 'sp-forward-slurp-sexp smartparens-mode-map) + (bind-key "C-}" 'sp-forward-barf-sexp smartparens-mode-map) + (bind-key "C-(" 'sp-backward-slurp-sexp smartparens-mode-map) + (bind-key "C-{" 'sp-backward-barf-sexp smartparens-mode-map))) (defclass indexed-mapping () ((mapping :initarg :mapping :initform nil)