 ;;; install projectile
 (require-package 'projectile)
 
->>>>>>> 8d915519110aa102cf3c8580b6815ae8d88ddc11
 ;;; install google translate
 (require-package 'google-translate)
 (require 'google-translate-default-ui)

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


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

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

(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)
    (delete-region (region-beginning) (region-end) ))
  (insert (format-time-string "%Y-%m-%d %H:%M:%S"))
  )

