           web-mode-style-padding 2
           web-mode-script-padding 2
           web-mode-enable-current-element-highlight t))
-  (add-hook 'web-mode-hook  'my-web-mode-hook))
+  (add-hook 'web-mode-hook  'rock/web-mode-hook))
 
 (use-package js2-mode
   :mode "\\.js\\'"
   :commands js2-mode
   :init
-  (defun my-js2-mode-hook ()
+  (defun rock/js2-mode-hook ()
     (setq js2-basic-offset 2
           js2-strict-trailing-comma-warning nil
           js2-warn-about-unused-function-arguments t))
-  (add-hook 'js2-mode-hook 'my-js2-mode-hook))
+  (add-hook 'js2-mode-hook 'rock/js2-mode-hook))
 
 (use-package css-mode
   :commands css-mode

(use-package projectile
  :diminish projectile-mode
  :init
  (setq projectile-cache-file (expand-file-name  "projectile.cache" my-backup-dir))
  (setq projectile-known-projects-file (expand-file-name "projectile-bookmarks.eld" my-backup-dir))
  (setq projectile-completion-system 'ivy)
  :config
  (projectile-global-mode)

(setq use-package-always-ensure t)

;; Use one folder for all save/history/cache files
(defconst rock/backup-dir (expand-file-name "backups" user-emacs-directory))
(unless (file-exists-p rock/backup-dir)
  (make-directory rock/backup-dir))

;; Backup and lockfiles
(setq create-lockfiles nil
      backup-directory-alist `((".*" . ,rock/backup-dir))
      auto-save-file-name-transforms `((".*" ,rock/backup-dir t)))

;; Set keys for MacOS
(setq mac-command-modifier 'super
