Set properly smartparens's default keymap

This commit is contained in:
Bozhidar Batsov 2013-08-22 14:58:19 +03:00
parent 6c83619c62
commit 0dfb6c9287

View file

@ -105,6 +105,7 @@ Will only occur if prelude-whitespace is also enabled."
(require 'smartparens-config) (require 'smartparens-config)
(setq sp-base-key-bindings 'paredit) (setq sp-base-key-bindings 'paredit)
(setq sp-autoskip-closing-pair 'always) (setq sp-autoskip-closing-pair 'always)
(sp-use-paredit-bindings)
(smartparens-global-mode +1) (smartparens-global-mode +1)
;; diminish keeps the modeline tidy ;; diminish keeps the modeline tidy