.emacs-windows-old-bk 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. ;; always enable ido mode
  41. (require 'ido)
  42. (ido-mode t)
  43. (require 'evil)
  44. ;; Required, but not enabled by defaul
  45. (evil-mode 1)
  46. ;; Enable tab behavior like vi
  47. (straight-use-package '(evil-tabs :type git :host github
  48. :repo "krisajenkins/evil-tabs"))
  49. (require 'evil-tabs)
  50. (global-evil-tabs-mode t)
  51. (require 'markdown-mode)
  52. (require 'powerline)
  53. (powerline-default-theme)
  54. (require 'neotree)
  55. (global-set-key [f8] 'neotree-toggle)
  56. (require 'dashboard)
  57. (dashboard-setup-startup-hook)
  58. (require 'auto-complete)
  59. (global-auto-complete-mode t)
  60. (require 'all-the-icons)
  61. (require 'sublimity-scroll)
  62. (require 'sublimity-map) ;; experimental
  63. (require 'sublimity-attractive)
  64. (setq sublimity-scroll-weight 10
  65. sublimity-scroll-drift-length 5)
  66. (setq sublimity-map-size 20)
  67. (setq sublimity-map-fraction 0.3)
  68. (setq sublimity-map-text-scale -7)
  69. (sublimity-map-set-delay 1)
  70. (setq sublimity-attractive-centering-width nil)
  71. (add-to-list 'default-frame-alist '(font . "Lucida Console" ))
  72. (set-face-attribute 'default t :font "Lucida Console" )
  73. (setq backup-directory-alist
  74. `((".*" . ,temporary-file-directory)))
  75. (setq auto-save-file-name-transforms
  76. `((".*" ,temporary-file-directory t)))
  77. (load-theme 'nano t)