diff options
| author | Luke Hoersten <[email protected]> | 2026-05-02 13:01:32 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-05-02 13:01:32 -0500 |
| commit | 4a5c4f1c92acc5e9dac259c0ff1470b112ec3d42 (patch) | |
| tree | 373a87be1ec7da36890513366db8dd6ac52e03a4 | |
| parent | d4c0d2098dc33c51c88269d7c2188cd94acdd0d5 (diff) | |
Removed extra ansible stuff.
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | elisp/ansible-init.el | 12 | ||||
| -rw-r--r-- | init.el | 8 |
3 files changed, 5 insertions, 20 deletions
@@ -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 <[email protected]> - -;; 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) @@ -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)) |
