From 5ebf3b0a4b41e4911709677c2aabda118b1e0fc8 Mon Sep 17 00:00:00 2001 From: laurensmiers Date: Mon, 21 Aug 2017 17:28:32 +0200 Subject: [PATCH] Add smartparens config --- custom/setup-editing.el | 7 +++++++ 1 file changed, 7 insertions(+) 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 ;;