.emacs 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. (setq inferior-lisp-program "/opt/homebrew/bin/sbcl")
  2. (load (expand-file-name "~/.local/opt/quicklisp/slime-helper.el"))
  3. (slime-setup '(slime-fancy slime-company))
  4. (defvar bootstrap-version)
  5. (let ((bootstrap-file
  6. (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
  7. (bootstrap-version 5))
  8. (unless (file-exists-p bootstrap-file)
  9. (with-current-buffer
  10. (url-retrieve-synchronously
  11. "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
  12. 'silent 'inhibit-cookies)
  13. (goto-char (point-max))
  14. (eval-print-last-sexp)))
  15. (load bootstrap-file nil 'nomessage))
  16. ;; packages to install
  17. (straight-use-package 'auto-complete)
  18. (straight-use-package '(nano-theme :type git :host github
  19. :repo "rougier/nano-theme"))
  20. (straight-use-package 'use-package)
  21. (straight-use-package
  22. '(slime-company :type git :host github :repo "anwyn/slime-company"))
  23. (require 'auto-complete)
  24. (add-to-list 'default-frame-alist '(font . "Roboto Mono" ))
  25. (set-face-attribute 'default t :font "Roboto Mono" )
  26. (setq backup-directory-alist `(("." . "~/.saves")))
  27. (load-theme 'nano t)