Install the smartparens package

This commit is contained in:
Gergely Polonkai
2016-10-10 14:47:04 +02:00
parent af1781dcc6
commit bba965611e
16 changed files with 10196 additions and 0 deletions

11
init.el
View File

@@ -114,6 +114,11 @@
(require 'zone)
(require 'magithub)
(require 'origami)
(use-package smartparens-config
:ensure smartparens
:config
(progn
(show-smartparens-global-mode t)))
;; Load my own functions
(load "gnu-c-header.el")
@@ -211,6 +216,12 @@
(c-add-style "PERSONAL" my-c-style)
(setq c-offset-alist '((member-init-intro . ++)))
;; smartparen stuff
(add-hook 'prog-mode-hook
'turn-on-smartparens-strict-mode)
(add-hook 'markdown-mode-hook
'turn-on-smartparens-strict-mode)
;; Custom key bindings
(global-set-key (kbd "C-x _") 'maximize-window)
;; Some terminals dont interpret Alt-Up/Down as M-<up/down>.