diff options
author | Alan Pearce | 2014-09-19 19:56:21 +0100 |
---|---|---|
committer | Alan Pearce | 2014-09-19 19:56:21 +0100 |
commit | 3b04c6e3a0a5c8c18e6edf620b4a0af8055f168d (patch) | |
tree | 22ef46ae92c2c5d22eaa0c29bd4087f201b9ee4d /tag-emacs | |
parent | bc1a9ab08614e8c2bc2ae7e20909abba1497a17e (diff) | |
download | nixfiles-3b04c6e3a0a5c8c18e6edf620b4a0af8055f168d.tar.lz nixfiles-3b04c6e3a0a5c8c18e6edf620b4a0af8055f168d.tar.zst nixfiles-3b04c6e3a0a5c8c18e6edf620b4a0af8055f168d.zip |
Emacs: Fix smartparens load issues
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index d5b693dd..33bd9b3c 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1054,16 +1054,15 @@ mouse-1: Display Line and Column Mode Menu")))))) :config (progn (setq eldoc-idle-delay 0.1))) -(req-package smartparens - :defer t +(req-package smartparens-config :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>" #'backwarp-kill-word sp-keymap) - (bind-key "M-?" #'sp-convolute-sexp sp-keymap sp-keymap) - (bind-key "M-t" #'sp-transpose-sexp sp-keymap sp-keymap) + (bind-key "M-<backspace>" #'backward-kill-word sp-keymap) + (bind-key "M-?" #'sp-convolute-sexp sp-keymap) + (bind-key "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) @@ -1073,10 +1072,6 @@ mouse-1: Display Line and Column Mode Menu")))))) (show-smartparens-global-mode t) (smartparens-global-strict-mode t))) -(req-package smartparens-config - :require smartparens - :defer t) - (req-package move-text :config (move-text-default-bindings)) |