   (add-to-list 'before-save-hook 'delete-trailing-whitespace)
   (add-hook 'gnus-message-setup-hook (lambda () (flyspell-mode t)))
   (display-time)
-  (display-line-numbers-mode)
+  (global-display-line-numbers-mode 1)
   (global-undo-tree-mode)
+  (add-hook 'find-file-hook 'auto-insert)
   (when (eq system-type 'darwin)
     (setq mac-command-modifier 'meta))
   (add-to-list 'default-frame-alist '(fullscreen . default)))

    undo-tree
    )
  "All custom packages for a better Emacs.")

(defun hunspell-installed? ()
  (require 'ispell)

  "Install all packages in SKP-PACKAGES."
  (message "Installing all custom packages")
  (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
  (unless (skp-packages-installed-p)
    (message "%s" "Refreshing and installing packages...")
    (package-refresh-contents)
