Patch up smartparens config

* Remove paren usage altogether (it was redundant:
  `show-smartparens-mode`vs. `show-paren-mode`).
* Add key binding for `sp-unwrap-sexp`
This commit is contained in:
Gergely Polonkai 2016-11-18 15:50:11 +01:00
parent 26a7641a6a
commit 5a836f5227
1 changed files with 2 additions and 5 deletions

View File

@ -248,7 +248,8 @@
(add-hook 'markdown-mode-hook (add-hook 'markdown-mode-hook
'turn-on-smartparens-strict-mode) 'turn-on-smartparens-strict-mode)
:bind :bind
(([f9] . smartparens-strict-mode))) (([f9] . smartparens-strict-mode)
("C-(" . sp-unwrap-sexp)))
(use-package smart-mode-line (use-package smart-mode-line
:ensure t :ensure t
@ -668,10 +669,6 @@
(use-package helm-describe-modes (use-package helm-describe-modes
:ensure t) :ensure t)
(use-package paren
:config
(show-paren-mode t))
(use-package autorevert (use-package autorevert
:config :config
(global-auto-revert-mode 1)) (global-auto-revert-mode 1))