aboutsummaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-04-06 07:34:05 -0400
committerEugene Triguba <hello@eugenetriguba.com>2026-04-06 07:34:05 -0400
commitd4f779d7d43bef2c655c1b3c44e5d92644989dca (patch)
treeb893c9da85b9d76414000095f6b476c527a0488b /.emacs.d/init.el
parentReplace slime with sly (diff)
downloaddotfiles-d4f779d7d43bef2c655c1b3c44e5d92644989dca.zip
Update emacs config to use project.el
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el41
1 files changed, 19 insertions, 22 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index af57c46..fb7ce4c 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -3,27 +3,21 @@
;;; Commentary:
;; init.el serves as the entrypoint for this Emacs configuration.
;;
-;; The majority of the configuration lives within the modules/
-;; directory. Each module is intended to be a self-contained unit for
-;; some aspect of my usage of Emacs. Each module name and definitions
-;; within a module is prefixed with et- to namespace them.
+;; The majority of the configuration lives within the lisp/ directory.
+;; Each lisp file is intended to be a self-contained unit for some aspect
+;; of my usage of Emacs. Each file name and definitions within a file
+;; are prefixed with et- to namespace them.
;;
-;; Because the configuration is generally in these module files, the
-;; primary role of init.el is to bootstrap the loading of these
-;; modules.
+;; Because the configuration is generally in these self-contained lisp
+;; files, the primary role of init.el is to bootstrap the loading of these
+;; files.
;;
;; Therefore, this entrypoint file:
-;; * Sets up the Emacs load path to include the modules directory.
-;; * Loads each module in the necessary order.
+;; * Sets up the Emacs load path to include the lisp directory.
+;; * Loads each lisp file in the necessary order.
;;
;;; Code:
-(add-to-list 'load-path "~/.emacs.d/vendor")
-(require 'find-file-in-project)
-(setq ffip-use-rust-fd t)
-(global-set-key (kbd "C-c p f") 'find-file-in-project)
-(global-set-key (kbd "C-c p s") 'find-file-in-project-by-selected)
-
-(add-to-list 'load-path "~/.emacs.d/modules")
+(add-to-list 'load-path "~/.emacs.d/lisp")
(require 'et-package)
(require 'et-appearance)
(require 'et-vc)
@@ -33,6 +27,15 @@
(require 'et-lsp)
;; Misc. grab bag items that aren't formally organized yet.
+(setq custom-file (expand-file-name "custom-vars.el" user-emacs-directory))
+(when (file-exists-p custom-file)
+ (load custom-file))
+
+(setq messages-log-max t)
+(setq next-line-add-newlines t)
+
+(use-package project)
+
(use-package which-key
:config
(which-key-mode 1))
@@ -51,11 +54,5 @@
:init
(setq inferior-lisp-program "sbcl"))
-(setq custom-file (expand-file-name "custom-vars.el" user-emacs-directory))
-(when (file-exists-p custom-file)
- (load custom-file))
-
-(setq messages-log-max t)
-
(provide 'init)
;;; init.el ends here