diff --git a/custom/setup-editing.el b/custom/setup-editing.el index d7faf3b..764be54 100644 --- a/custom/setup-editing.el +++ b/custom/setup-editing.el @@ -51,6 +51,13 @@ ;; Package: smartparens --- smart way to handle (), {}, ... (require 'smartparens-config) +(setq sp-base-key-bindings 'paredit) +(setq sp-autoskip-closing-pair 'always) +(setq sp-hybrid-kill-entire-symbol nil) +(sp-use-paredit-bindings) + +(show-smartparens-global-mode +1) +(smartparens-global-mode 1) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; keybinding management smartparens ;;