elisp/ansible-init.el
author Luke Hoersten <luke@hoersten.org>
Thu, 02 Oct 2025 09:50:40 -0500
changeset 105 e45e60614994
parent 77 c99c95938a05
permissions -rw-r--r--
Moved from ido and smex to vertico, orderless, consult, marginalia for auto complete. Packages updated: - Removed: flx-ido, smex - Added: vertico, orderless, consult, marginalia Configuration changes: - vertico-mode replaces ido-mode for completion UI - orderless provides fuzzy matching (replaces flx-ido) - marginalia-mode adds helpful annotations - consult-buffer replaces default buffer switching (better than ido) - consult-ripgrep replaces plain rg command (adds preview) - consult-yank-pop on M-y (enhanced kill-ring browsing) Your keybindings: - M-x now uses vertico (no special binding needed) - C-x b → consult-buffer (enhanced) - C-c g → consult-ripgrep (with live preview) - M-y → consult-yank-pop (browse kill ring) Please enter the commit message for your changes. Lines starting
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
77
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     1
;; ~/.emacs.d/elisp/ansible-init.el
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     2
;; Luke Hoersten <[email protected]>
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     3
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     4
;; Require packages
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     5
(require 'package-require)
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     6
(package-require '(yaml-mode jinja2-mode company company-ansible ansible-doc))
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     7
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     8
(add-hook 'yaml-mode-hook #'ansible-doc-mode)
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
     9
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
    10
(message "Loading ansible-init...done")
c99c95938a05 Added ansible init.
Luke Hoersten <Luke@Hoersten.org>
parents:
diff changeset
    11
(provide 'ansible-init)