     (package-refresh-contents)
     (package-install p)
     (require p)))
-
-(progn (pkg 'mouse)
-       (xterm-mouse-mode t)
-       (global-set-key [mouse-4] (lambda ()
-                                   (interactive)
-                                   (scroll-down 1)))
-       (global-set-key [mouse-5] (lambda ()
-                                   (interactive)
-                                   (scroll-up 1)))
-       (defun track-mouse (e))
-       (setq-default mouse-sel-mode t))
-
-(progn (pkg 'whitespace)
-       (global-whitespace-mode)
-       (setq-default
-        whitespace-line-column 78
-        whitespace-style '(face trailing tabs lines-tail)))
 
 (progn (pkg 'saveplace)
        (setq-default save-place t))

        '(git-gutter:added-sign "+ ")
        '(git-gutter:deleted-sign "- ")))

(progn (pkg 'rainbow-delimiters)
       (add-hook 'emacs-lisp-mode-hook 'rainbow-delimiters-mode))

;; General
(menu-bar-mode -1) ;; Disable toolbar
(global-linum-mode t) ;; Line numbers

;; Aliases
(defalias 'yes-or-no-p 'y-or-n-p)

   backup-directory-alist `((".*" . ,backupdir))
   auto-save-file-name-transforms `((".*" ,backupdir t))
   backup-by-copying t))

;; Enable mouse
(xterm-mouse-mode t)
(global-set-key [mouse-4] (lambda ()
                            (interactive)
                            (scroll-down 1)))
(global-set-key [mouse-5] (lambda ()
                            (interactive)
                            (scroll-up 1)))
(defun track-mouse (e))
(setq-default mouse-sel-mode t)

;; Create parent directory if it doesn't exist
(defadvice
