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
;; ~/.emacs.d/hoersten-c-style.el
;; Luke Hoersten <[email protected]>
;; hoersten c++-style
(c-add-style
"hoersten"
'(;; indentation
(indent-tabs-mode . t)
(tab-width . 3)
(c-basic-offset . 3)
;; brace cleanups
(c-cleanup-list
brace-else-brace
brace-elseif-brace
brace-catch-brace
empty-defun-braces
defun-close-semi
list-close-comma
scope-operator)
;; syntactic symbols
(c-offsets-alist
(substatement-open . 0)
(inline-open . 0)
(case-label . +)
(innamespace . 0)
(arglist-cont-nonempty . +)
(cpp-macro . -))))
;; c-like language settings (c, c++, java, etc.)
;;(require 'doxymacs)
(setq-default c-default-style "hoersten") ; load c-style
(message "Loading hoersten-c-style...done")
(provide 'hoersten-c-style)