 (require 'package)
 (add-to-list 'package-archives
              '("melpa" . "http://melpa.org/packages/"))
+(setq package-enable-at-startup nil)
 (package-initialize)
 
-(if (not (package-installed-p 'use-package))
-    (progn
-      (package-refresh-contents)
-      (package-install 'use-package)))
+(unless (package-installed-p 'use-package)
+  (package-refresh-contents)
+  (package-install 'use-package))
+
 (require 'use-package)
 
 (use-package async
-  :ensure async)
+  :ensure t)
 (require 'async-bytecomp)
 
 ;; Display line numbers.
 (use-package linum
-  :ensure linum)
+  :ensure t)
 (global-linum-mode)
 
 ;; Right-justify linum

    (shell-command "open http://google.com"))
  ;; Ensures PATH is loaded from shell.
  (use-package exec-path-from-shell
    :ensure exec-path-from-shell)
  (exec-path-from-shell-initialize))
 ((ar/gnulinuxp) ; Linux
  (defun ar/new-browser-tab ()

          (lambda() (local-set-key (kbd "<RET>") 'electric-indent-just-newline)))

(use-package multiple-cursors
  :ensure t)
(multiple-cursors-mode)
(global-set-key (kbd "C-c n") 'mc/mark-next-like-this)
(global-set-key (kbd "C-c a") 'mc/mark-all-like-this)
