commit 7ca6806a65645f01d947df627e42a63f027cc983
Author: Simon Watson <spw01@protonmail.com>
Date: Wed Jun 30 21:21:37 2021 -0400
Added emacs config
diff --git a/emacs/.emacs b/emacs/.emacs
new file mode 100644
index 0000000..c6007c0
--- /dev/null
+++ b/emacs/.emacs
@@ -0,0 +1,34 @@
+(setq inferior-lisp-program "/opt/homebrew/bin/sbcl")
+(load (expand-file-name "~/.local/opt/quicklisp/slime-helper.el"))
+(slime-setup '(slime-fancy slime-company))
+(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))
+
+;; packages to install
+(straight-use-package 'auto-complete)
+
+(straight-use-package '(nano-theme :type git :host github
+ :repo "rougier/nano-theme"))
+(straight-use-package 'use-package)
+
+(straight-use-package
+ '(slime-company :type git :host github :repo "anwyn/slime-company"))
+
+(require 'auto-complete)
+
+(add-to-list 'default-frame-alist '(font . "Roboto Mono" ))
+(set-face-attribute 'default t :font "Roboto Mono" )
+
+(setq backup-directory-alist `(("." . "~/.saves")))
+
+(load-theme 'nano t)