aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/misc.el
diff options
context:
space:
mode:
authorJack Jamison <jjamison@litecoms.com>2026-07-30 15:03:29 -0400
committerJack Jamison <jjamison@litecoms.com>2026-07-30 15:03:29 -0400
commitf220a0ed999a06d43eaead3b6a86aaf36910d6c6 (patch)
tree810686041b410b943f321639cd354e78a6190614 /.config/emacs/misc.el
parentd7fb76f6e7d942740c48016864de8b65588e336c (diff)
lots of great improvements
Diffstat (limited to '.config/emacs/misc.el')
-rw-r--r--.config/emacs/misc.el37
1 files changed, 30 insertions, 7 deletions
diff --git a/.config/emacs/misc.el b/.config/emacs/misc.el
index a4ab07d..276ee88 100644
--- a/.config/emacs/misc.el
+++ b/.config/emacs/misc.el
@@ -37,13 +37,36 @@
(add-hook 'prog-mode 'editorconfig-apply)
;; proj
-;; (use-package proj
+(use-package proj
+ :vc ( :url "https://github.com/NAHTAIV3L/proj.el" :rev :newest )
+ :demand
+ :config
+ (global-set-key (kbd "C-x b") `proj-switch-to-buffer)
+ (global-set-key (kbd "C-c b") `switch-to-buffer)
+ (global-set-key (kbd "C-x k") `proj-kill-buffer)
+ (global-set-key (kbd "C-c k") `kill-buffer)
+ (setq proj-locations '(("~/development/" . 1) ("~/opt/" . 1) ("~/dotfiles/" . 0) ("~/dotfiles/.config/emacs/lisp/" . 1))
+ proj-grep-function 'consult-ripgrep))
+
+;; (use-package compile-angel
;; :demand t
;; :config
-;; (global-set-key (kbd "C-x b") `proj-switch-to-buffer)
-;; (global-set-key (kbd "C-c b") `switch-to-buffer)
-;; (global-set-key (kbd "C-x k") `proj-kill-buffer)
-;; (global-set-key (kbd "C-c k") `kill-buffer)
-;; (setq proj-locations '(("~/development/" . 1) ("~/opt/" . 1) ("~/dotfiles/" . 0) ("~/dotfiles/.config/emacs/lisp/" . 1))
-;; proj-grep-function 'consult-ripgrep))
+;; (setq compile-angel-verbose t)
+
+;; ;; The following directive prevents compile-angel from compiling your init
+;; ;; files. If you choose to remove this push to `compile-angel-excluded-path-suffixes'
+;; ;; and compile your pre/post-init files, ensure you understand the
+;; ;; implications and thoroughly test your code. For example, if you're using
+;; ;; the `use-package' macro, you'll need to explicitly add:
+;; ;; (eval-when-compile (require 'use-package))
+;; ;; at the top of your init file.
+;; (push "/init.el" compile-angel-excluded-path-suffixes)
+;; (push "/early-init.el" compile-angel-excluded-path-suffixes)
+;; (push ".config/emacs/[^/]*.el" compile-angel-excluded-path-regexps)
+
+;; ;; Uncomment the line below to compile automatically when an Elisp file is saved
+;; ;; (add-hook 'emacs-lisp-mode-hook #'compile-angel-on-save-local-mode)
+;; ;; A global mode that compiles .el files when they are loaded
+;; ;; using `load' or `require'.
+;; (compile-angel-on-load-mode 1))