Install the smartparens package

这个提交包含在:
Gergely Polonkai
2016-10-10 14:47:04 +02:00
父节点 af1781dcc6
当前提交 bba965611e
共有 16 个文件被更改,包括 10196 次插入0 次删除

11
init.el
查看文件

@@ -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 don’t interpret Alt-Up/Down as M-<up/down>.