                             (push 'escape unread-command-events))
                            (t (setq unread-command-events (append unread-command-events
                                                                   (list evt))))))))
+;;;Evil Config End
+
+;;;AC Config Begin
+(require 'auto-complete-config)
+(require 'auto-complete-clang)
+(defun my-ac-cc-mode-setup ()
+  "Set up cc config for autocomplete."
+  (setq ac-sources (append '(ac-source-clang) ac-sources)))
+(add-hook 'c-mode-common-hook 'my-ac-cc-mode-setup)
+;;;AC Config End
 
 (desktop-save-mode 0)
 (setq slime-contribs '(slime-repl slime-fuzzy slime-scratch))


(evil-leader/set-leader ",")

(define-key evil-insert-state-map "j" #'cofi/maybe-exit)

(evil-define-command cofi/maybe-exit ()

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

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

(evil-leader/set-key
