Simon Watson преди 3 години
родител
ревизия
7ca6806a65
променени са 1 файла, в които са добавени 34 реда и са изтрити 0 реда
  1. 34 0
      emacs/.emacs

+ 34 - 0
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)