   (setq ac-clang-flags
         (mapcar (lambda (item) (concat "-I" item))
                 (split-string
-                 "
-/usr/include/c++/4.8
+                 " /usr/include/c++/4.8
 /usr/include/x86_64-linux-gnu/c++/4.8
 /usr/include/c++/4.8/backward
-/usr/lib/gcc/x86_64-linux-gnu/4.8/include
-/usr/local/include
+/usr/lib/gcc/x86_64-linux-gnu/4.8/include /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed
-/usr/include/x86_64-linux-gnu
-/usr/include
+/usr/include/x86_64-linux-gnu /usr/include
 ")))
   (setq ac-sources (append '(ac-source-clang) ac-sources)))
 (add-hook 'c-mode-hook 'my-ac-cc-mode-setup)
 (add-hook 'c++-mode-hook 'my-ac-cc-mode-setup)
-
-;;;AC Config End
-;;;
-;;;Eclim Config Start
-(defun setup-eclim ()
-  "Eclim setup, include auto complete,but just use this in linux."
-  (require-package 'emacs-eclim)
-  (require 'eclim)
-  (global-eclim-mode)
-  (custom-set-variables
-   '(eclim-eclipse-dirs '("~/eclipse"))
-   '(eclim-executable "~/eclipse/eclim"))
-  (setq help-at-pt-display-when-idle t)
-  (setq help-at-pt-timer-delay 0.1)
-  (help-at-pt-set-timer)
-  (require 'ac-emacs-eclim-source)
-  (add-hook 'java-mode-hook 'ac-emacs-eclim-java-setup))
-(unless *is-a-mac* (setup-eclim))
-;;;Eclim Config End
 
 (desktop-save-mode 0)
 (setq slime-contribs '(slime-repl slime-fuzzy slime-scratch))


(setq ring-bell-function 'ignore)

(add-hook 'emacs-startup-hook
          (lambda ()
            (evil-mode)
            (projectile-global-mode)
            (setf enable-local-variables nil)))


;; org 自动换行
(add-hook 'org-mode-hook
          (lambda ()
            (toggle-truncate-lines 0)
            (setupEvilOrg)))

(when (featurep 'ns)
  (defun ns-raise-emacs ()
