.emacs-windows 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. (setq mouse-wheel-scroll-amount '(1 ((shift) . 1) ((control) . nil)))
  5. (setq mouse-wheel-progressive-speed nil)
  6. (setq visible-bell 1)
  7. (defvar bootstrap-version)
  8. (let ((bootstrap-file
  9. (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
  10. (bootstrap-version 5))
  11. (unless (file-exists-p bootstrap-file)
  12. (with-current-buffer
  13. (url-retrieve-synchronously
  14. "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
  15. 'silent 'inhibit-cookies)
  16. (goto-char (point-max))
  17. (eval-print-last-sexp)))
  18. (load bootstrap-file nil 'nomessage))
  19. ;; packages to install and load
  20. (straight-use-package 'auto-complete)
  21. (straight-use-package '(nano-theme :type git :host github
  22. :repo "rougier/nano-theme"))
  23. (straight-use-package 'use-package)
  24. (straight-use-package 'org)
  25. (straight-use-package
  26. '(slime-company :type git :host github :repo "anwyn/slime-company"))
  27. (straight-use-package 'sublimity)
  28. (straight-use-package 'dashboard)
  29. (straight-use-package 'all-the-icons)
  30. (straight-use-package 'neotree)
  31. (straight-use-package 'rust-mode)
  32. (straight-use-package 'powerline)
  33. (straight-use-package 'markdown-mode)
  34. (straight-use-package 'moe-theme)
  35. (straight-use-package 'ample-theme)
  36. (straight-use-package 'slime)
  37. (straight-use-package 'ac-slime)
  38. ;; Not enabled/required by default
  39. (straight-use-package 'evil)
  40. (require 'evil)
  41. ;; Required, but not enabled by defaul
  42. (evil-mode 0)
  43. ;; Enable tab behavior like vi
  44. (straight-use-package '(evil-tabs :type git :host github
  45. :repo "krisajenkins/evil-tabs"))
  46. (require 'markdown-mode)
  47. (require 'powerline)
  48. (powerline-default-theme)
  49. (require 'neotree)
  50. (global-set-key [f8] 'neotree-toggle)
  51. (require 'dashboard)
  52. (dashboard-setup-startup-hook)
  53. (require 'auto-complete)
  54. (global-auto-complete-mode t)
  55. (require 'all-the-icons)
  56. (require 'sublimity-scroll)
  57. (require 'sublimity-map) ;; experimental
  58. (require 'sublimity-attractive)
  59. (setq sublimity-scroll-weight 10
  60. sublimity-scroll-drift-length 5)
  61. (setq sublimity-map-size 20)
  62. (setq sublimity-map-fraction 0.3)
  63. (setq sublimity-map-text-scale -7)
  64. (sublimity-map-set-delay 1)
  65. (setq sublimity-attractive-centering-width nil)
  66. (add-to-list 'default-frame-alist '(font . "Roboto Mono" ))
  67. (set-face-attribute 'default t :font "Roboto Mono" )
  68. (setq backup-directory-alist
  69. `((".*" . ,temporary-file-directory)))
  70. (setq auto-save-file-name-transforms
  71. `((".*" ,temporary-file-directory t)))
  72. (load-theme 'nano t)