Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save fleutot/d4b1cb70e7b1f47eb8764b45fe28380b to your computer and use it in GitHub Desktop.

Select an option

Save fleutot/d4b1cb70e7b1f47eb8764b45fe28380b to your computer and use it in GitHub Desktop.
(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
(add-to-list 'package-archives '("melpamilk" . "http://melpa.milkbox.net/packages/"))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(eval-when-compile
(require 'use-package))
(require 'bind-key)
;;; ...
(use-package magit
:ensure t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment