diff --git a/init.el b/init.el index 46548e8..6699071 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; 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: ;; 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 :after yasnippet) +(use-package smartparens + :bind + ("C-k" . sp-kill-hybrid-sexp) ; Intelligent kill. + :hook + (prog-mode . smartparens-mode) + ) + ;;;;;;;;;;;;;;;;;;;; Programming / C++ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Set coding style. (use-package cc-mode