Add smartparens config
This commit is contained in:
parent
ec818691f5
commit
5ebf3b0a4b
1 changed files with 7 additions and 0 deletions
|
|
@ -51,6 +51,13 @@
|
||||||
|
|
||||||
;; Package: smartparens --- smart way to handle (), {}, ...
|
;; Package: smartparens --- smart way to handle (), {}, ...
|
||||||
(require 'smartparens-config)
|
(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 ;;
|
;; keybinding management smartparens ;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue