summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorSteph Enders <steph@senders.io>2023-03-30 20:34:16 -0400
committerSteph Enders <steph@senders.io>2023-03-30 20:34:16 -0400
commit3b3343b7b3cb93274fbb5605d982f41b1d26ade3 (patch)
tree4f1a6583704ce3a512015d7cb7ed136080bb27ef /.emacs.d/init.el
parentdb3234af86b45ac1eb1189b9615dab91c1fa7f42 (diff)
Reorganize emacs.d - use straight.el
Major restructuring of the emacs directory: - moved .emacs to .emacs.d/init.el - setup early-init.el (as per straight.el directions) - moved major things into plugins.el - moved package installs into packages.el
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el27
1 files changed, 7 insertions, 20 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index dd07c6e..116ff79 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1,26 +1,16 @@
-(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-enabled-themes '(moe-dark))
- '(custom-safe-themes
- '("a68624bd5c4bec879ee59cd3039531b6229766a8b8ed0e79eef2642f14dbda32" "58c996beb973f7e988ee4fd21c367b7a5bbdb0622ddfbbd112672a7b4e3d3b81" default))
- '(initial-buffer-choice t)
- '(package-selected-packages '(## elpher moe-theme org visual-fill-column)))
-(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.
- )
+;; load plugins
+(when (file-exists-p "~/.emacs.d/plugins.el")
+ (load "~/.emacs.d/plugins.el"))
+(when (file-exists-p "~/.emacs.d/packages.el")
+ (load "~/.emacs.d/packages.el"))
;; Setup modes
+;;(setq initial-buffer-choice t)
;;; remember layout
;;(desktop-save-mode 1)
;;; disable menu bar
-;;(menu-bar-mode -1)
+(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
;;; disable emacs splash screen
@@ -65,6 +55,3 @@
(global-set-key "\C-cl" 'use-light-theme)
(global-set-key "\C-cd" 'use-dark-theme)
-;; Always last
-;;(when (file-exists-p "~/.emacs.d/pc_local_init.el")
-;; (load "~/.emacs.d/pc_local_init.el"))`