 (add-hook 'html-mode-hook 'emmet-mode)
 (add-hook 'css-mode-hook  'emmet-mode)
 
-
 ;;; set theme
 (dark)
-
 
 ;;;insert time function
 (defun insert-date ()
   "Insert current date yyyy-mm-dd."
   (interactive)
   (when (region-active-p)
-<<<<<<< HEAD
-        (delete-region (region-beginning) (region-end) )
-        )
-=======
-        (delete-region (region-beginning) (region-end) ))
->>>>>>> 8d915519110aa102cf3c8580b6815ae8d88ddc11
+    (delete-region (region-beginning) (region-end) ))
   (insert (format-time-string "%Y-%m-%d %H:%M:%S"))
   )
 

(projectile-global-mode)
(setq projectile-indexing-method 'native)


<<<<<<< HEAD
=======

;;; install js2-refactor
(require-package 'js2-refactor)
(require 'js2-refactor)

(global-set-key "\C-ct" 'google-translate-smooth-translate)
(setq google-translate-translation-directions-alist '(("en" . "zh-CN")))


;;; remove makefile tab
(add-hook 'makefile-mode-hook
          (lambda ()
            (whitespace-cleanup-mode 0)
            (setq tab-width 8)))

;;; install inf-mongodb
(require-package 'inf-mongo)
(require 'inf-mongo)

(require-package 'ob-mongo)
(require 'ob-mongo)
