     (evil-delete (point-at-bol) (point))))
 (define-key evil-insert-state-map "k" #'cofi/maybe-exit)
 (evil-define-command cofi/maybe-exit ()
-  :repeat change
-  (interactive)
-  (let ((modified (buffer-modified-p)))
-    (insert "k")
-    (let ((evt (read-event (format "Insert %c to exit insert state" ?j)
-                           nil 0.5)))
-      (cond
-       ((null evt) (message ""))
-       ((and (integerp evt) (char-equal evt ?j))
-        (delete-char -1)
-        (set-buffer-modified-p modified)
-        (push 'escape unread-command-events))
-       (t (setq unread-command-events (append unread-command-events
-                                              (list evt))))))))
+                     :repeat change
+                     (interactive)
+                     (let ((modified (buffer-modified-p)))
+                       (insert "k")
+                       (let ((evt (read-event (format "Insert %c to exit insert state" ?j)
+                                              nil 0.5)))
+                         (cond
+                          ((null evt) (message ""))
+                          ((and (integerp evt) (char-equal evt ?j))
+                           (delete-char -1)
+                           (set-buffer-modified-p modified)
+                           (push 'escape unread-command-events))
+                          (t (setq unread-command-events (append unread-command-events
+                                                                 (list evt))))))))
 ;;;Evil Config End
 
 ;;;AC Config Begin

;;; init-local.el --- local init for emacs

;;; Commentary:
;;


;;; Code:


(require-package 'evil)
(require-package 'evil-leader)
(require-package 'projectile)
(require-package 'auto-complete-clang)

;;;Evil Config Begin
(global-evil-leader-mode)

  (set-fontset-font t 'hangul (font-spec :name "NanumGothicCoding"))
  (set-fontset-font t 'chinese-gb2312 (font-spec :name "Hiragino Sans GB"))

  ;; you may want to add different for other charset in this way.
  )

(require 'header2)
(autoload 'auto-update-file-header "header2")
(add-hook 'write-file-hooks 'auto-update-file-header)
(autoload 'auto-make-header "header2")
(defun enzo-make-header ()
  (auto-make-header)
  (auto-update-file-header))
(add-hook 'emacs-lisp-mode-hook 'enzo-make-header)
(add-hook 'c-mode-common-hook   'enzo-make-header)
(add-hook 'lisp-mode-hook 'enzo-make-header)

(provide 'init-local)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; init-local.el ends here
