Added smartparens.

This commit is contained in:
tastytea 2019-08-07 15:09:27 +02:00
parent 5c350465ee
commit 3057f85f4c

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file. ;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-08-07T11:20:52+00:00> ;; Time-stamp: <2019-08-07T12:19:34+00:00>
;;; Commentary: ;;; Commentary:
;; I am using this file with Emacs 26, but most of it will probably work with ;; I am using this file with Emacs 26, but most of it will probably work with
@ -376,6 +376,13 @@ With argument, do this that many times."
(use-package yasnippet-snippets (use-package yasnippet-snippets
:after yasnippet) :after yasnippet)
(use-package smartparens
:bind
("C-k" . sp-kill-hybrid-sexp) ; Intelligent kill.
:hook
(prog-mode . smartparens-mode)
)
;;;;;;;;;;;;;;;;;;;; Programming / C++ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;; Programming / C++ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Set coding style. ;; Set coding style.
(use-package cc-mode (use-package cc-mode