123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- ;;; Slime/etc
- (setq inferior-lisp-program "/opt/homebrew/bin/sbcl")
- (load (expand-file-name "~/.local/opt/quicklisp/slime-helper.el"))
- ; Smooth mouse scroll a bit
- (setq mouse-wheel-scroll-amount '(1 ((shift) . 1) ((control) . nil)))
- (setq mouse-wheel-progressive-speed nil)
- ;; normal home/end behavior
- (global-set-key (kbd "<home>") 'beginning-of-line)
- (global-set-key (kbd "<end>") 'end-of-line)
- ;;; erc config
- (setq erc-nick "speskk")
- (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 and load
- (straight-use-package 'auto-complete)
- (straight-use-package '(nano-theme :type git :host github
- :repo "rougier/nano-theme"))
- ;;(straight-use-package
- ;; '(nano-emacs :type git :host github :repo "rougier/nano-emacs"))
- (straight-use-package
- '(slime-company :type git :host github :repo "anwyn/slime-company"))
- (straight-use-package 'sublimity)
- (straight-use-package 'dashboard)
- (straight-use-package 'all-the-icons)
- (straight-use-package 'neotree)
- (straight-use-package 'rust-mode)
- (straight-use-package 'powerline)
- (straight-use-package 'markdown-mode)
- (straight-use-package 'moe-theme)
- (straight-use-package 'ample-theme)
- (straight-use-package 'slime)
- (straight-use-package 'ac-slime)
- ;; Not enabled/required by default
- (straight-use-package 'evil)
- ;; always enable ido mode
- (require 'ido)
- (ido-mode t)
- (require 'evil)
- (evil-mode 1)
- ;; Enable tab behavior like vi
- (straight-use-package '(evil-tabs :type git :host github
- :repo "krisajenkins/evil-tabs"))
- (require 'auto-complete)
- (global-auto-complete-mode t)
- (require 'slime)
- (require 'ac-slime)
- (slime-setup '(slime-fancy ac-slime))
- (add-hook 'slime-mode-hook 'set-up-slime-ac)
- (add-hook 'slime-repl-mode-hook 'set-up-slime-ac)
- (eval-after-load "auto-complete"
- '(add-to-list 'ac-modes 'slime-repl-mode))
- (require 'markdown-mode)
- (require 'powerline)
- (powerline-default-theme)
- (require 'neotree)
- (global-set-key [f8] 'neotree-toggle)
- (require 'dashboard)
- (dashboard-setup-startup-hook)
- (require 'all-the-icons)
- (require 'sublimity-scroll)
- (require 'sublimity-map) ;; experimental
- (require 'sublimity-attractive)
- (setq sublimity-scroll-weight 10
- sublimity-scroll-drift-length 5)
- (setq sublimity-map-size 20)
- (setq sublimity-map-fraction 0.3)
- (setq sublimity-map-text-scale -7)
- (sublimity-map-set-delay 1)
- (setq sublimity-attractive-centering-width nil)
- (add-to-list 'default-frame-alist '(font . "Roboto Mono" ))
- (set-face-attribute 'default t :font "Roboto Mono" )
- (setq backup-directory-alist
- `((".*" . ,temporary-file-directory)))
- (setq auto-save-file-name-transforms
- `((".*" ,temporary-file-directory t)))
- ;(load-theme 'moe-light t)
- (load-theme 'nano t)
- (nano-dark)
- (display-time-mode t)
- (display-line-numbers-mode t)
- (custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(custom-safe-themes
- '("01106ca9b4446341ecb86a76b9db48f1100e2eb13980aa0ec6f6adf8e69fd9a7" "bf798e9e8ff00d4bf2512597f36e5a135ce48e477ce88a0764cfb5d8104e8163" "0feb7052df6cfc1733c1087d3876c26c66410e5f1337b039be44cb406b6187c6" default)))
- (custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )
|