From 4a5c4f1c92acc5e9dac259c0ff1470b112ec3d42 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sat, 2 May 2026 13:01:32 -0500 Subject: Removed extra ansible stuff. --- README.md | 5 ++--- elisp/ansible-init.el | 12 ------------ init.el | 8 +++----- 3 files changed, 5 insertions(+), 20 deletions(-) delete mode 100644 elisp/ansible-init.el diff --git a/README.md b/README.md index e79a622..0fefc35 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Personal Emacs configuration focused on simplicity and modern tooling while resp ├── init.el # Main configuration file ├── elisp/ # Custom configuration modules │ ├── c-init.el # C/C++ configuration -│ └── ansible-init.el # Ansible/YAML configuration +│ └── hoersten-c-style.el # Custom C style ├── custom.el # Custom-set variables (gitignored) └── README.md # This file ``` @@ -151,6 +151,5 @@ M-x package-update-all - Shell: eshell (launched automatically on startup) - Server: emacs server starts automatically for `emacsclient` - Whitespace cleanup on save enabled globally -- Line numbers enabled globally (exempt: eshell, term, vterm, Messages) -- Rainbow delimiters enabled in all `prog-mode` and `text-mode` buffers +- Line numbers and rainbow delimiters enabled in all `prog-mode` and `text-mode` buffers - Auto-fill (line wrap at column 120) enabled in all `text-mode` buffers diff --git a/elisp/ansible-init.el b/elisp/ansible-init.el deleted file mode 100644 index fa6d7e6..0000000 --- a/elisp/ansible-init.el +++ /dev/null @@ -1,12 +0,0 @@ -;; ~/.emacs.d/elisp/ansible-init.el -;; Luke Hoersten - -;; Ensure packages are installed -(dolist (package '(jinja2-mode ansible-doc)) - (unless (package-installed-p package) - (package-install package))) - -(add-hook 'yaml-mode-hook #'ansible-doc-mode) - -(message "Loading ansible-init...done") -(provide 'ansible-init) diff --git a/init.el b/init.el index 0ebd08c..4c5e4f8 100644 --- a/init.el +++ b/init.el @@ -124,7 +124,6 @@ ;;; custom requires (require 'c-init) -(require 'ansible-init) ;;; jinx (spell checking) @@ -132,16 +131,14 @@ (global-jinx-mode t) ; auto-enable in text-mode, prog-mode, conf-mode -;;; line numbers -(global-display-line-numbers-mode t) - - ;;; prog-mode - applies to all programming-based modes +(add-hook 'prog-mode-hook 'display-line-numbers-mode) (add-hook 'prog-mode-hook 'rainbow-delimiters-mode) (add-hook 'prog-mode-hook 'flymake-mode) ; linting/diagnostics ;;; text-mode - applies to all text-based modes +(add-hook 'text-mode-hook 'display-line-numbers-mode) (add-hook 'text-mode-hook 'rainbow-delimiters-mode) (add-hook 'text-mode-hook 'turn-on-auto-fill) ; wrap prose at fill-column @@ -304,6 +301,7 @@ ;;; project.el +(setq project-vc-extra-root-markers '(".project")) ; non-VC project roots (with-eval-after-load 'project (add-to-list 'project-switch-commands '(ghostel-project "Ghostel" ?s) t) (add-to-list 'project-switch-commands '(claude-code-ide "Claude" ?c) t)) -- cgit v1.2.3