Skip to content

Instantly share code, notes, and snippets.

@nwg
Created May 27, 2021 21:59
Show Gist options
  • Save nwg/471b742308a11464d947a55e061c290f to your computer and use it in GitHub Desktop.
Save nwg/471b742308a11464d947a55e061c290f to your computer and use it in GitHub Desktop.
;; --- begin straight.el setup
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name
"straight/repos/straight.el/bootstrap.el"
user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent
'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'use-package)
;; --- end straight.el setup
(use-package evil
:straight t
:config
(evil-mode 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment