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


;; install golden-ratio
(require-package 'golden-ratio)
(require 'golden-ratio)
;;(golden-ratio-mode 1)

;; don't generate backup file
;;(setq make-backup-files nil)

;; all backups goto ~/.backups instead in the current directory
(setq backup-directory-alist (quote (("." . "~/.saves"))))
(setq backup-by-copying t)

(provide 'init-local)
