Browse Source

Set properly smartparens's default keymap

custom
Bozhidar Batsov 12 years ago
parent
commit
0dfb6c9287
  1. 1
      core/prelude-editor.el

1
core/prelude-editor.el

@ -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

Loading…
Cancel
Save