# HG changeset patch # User Luke Hoersten # Date 1759419600 18000 # Node ID 7a84acce27ec3bb15f7ded24f2ba83a9d1b0a314 # Parent 3718d6c24e4564691661f508b707c38d67824618 Cleaned out some last remaining custome variable and ido stuff. Changes: - Added custom.el to .gitignore - Updated gc-cons-threshold comment (removed flx-ido reference) - Changed yasnippet to use yas-completing-read instead of yas-ido-prompt (works with vertico) - Removed commented-out old package list diff -r 3718d6c24e45 -r 7a84acce27ec .gitignore --- a/.gitignore Thu Oct 02 10:33:24 2025 -0500 +++ b/.gitignore Thu Oct 02 10:40:00 2025 -0500 @@ -6,3 +6,4 @@ *~ transient/ smex-items +custom.el diff -r 3718d6c24e45 -r 7a84acce27ec init.el --- a/init.el Thu Oct 02 10:33:24 2025 -0500 +++ b/init.el Thu Oct 02 10:40:00 2025 -0500 @@ -6,8 +6,10 @@ ;;; Code: (add-to-list 'load-path "~/.emacs.d/elisp") ; set default emacs load path +(setq custom-file (concat user-emacs-directory "custom.el")) ; don't auto-edit init.el + (setq-default - gc-cons-threshold 20000000 ; gc every 20 MB allocated (form flx-ido docs) + gc-cons-threshold 20000000 ; gc every 20 MB allocated inhibit-splash-screen t ; disable splash screen truncate-lines t ; truncate, not wrap, lines indent-tabs-mode nil ; only uses spaces for indentation @@ -71,13 +73,6 @@ solarized-theme terraform-mode visual-regexp yasnippet yaml-mode emmet-mode)) -;; (custom-set-variables -;; '(package-selected-packages -;; '(magit magit-ido ansible-doc company-ansible jinja2-mode ac-js2 auto-complete zencoding-mode -;; yasnippet yaml-mode visual-regexp terraform-mode solarized-theme smex rg rainbow-delimiters -;; paredit move-text markdown-mode json-reformat json-mode hgignore-mode haskell-mode flycheck flx-ido expand-region exec-path-from-shell company))) - - ;;; custom requires (require 'c-init) @@ -193,7 +188,7 @@ ;;; yasnippets (with-eval-after-load 'yasnippet (setq yas-snippet-dirs (remq 'yas-installed-snippets-dir yas-snippet-dirs))) -(setq-default yas-prompt-functions '(yas-ido-prompt yas-dropdown-prompt)) ; use ido for multiple snippets +(setq-default yas-prompt-functions '(yas-completing-read yas-dropdown-prompt)) ; use completing-read for multiple snippets (yas-global-mode t) @@ -248,16 +243,3 @@ (provide 'init) ;;; init.el ends here -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(package-selected-packages - '(magit yasnippet yaml-mode visual-regexp terraform-mode solarized-theme rg rainbow-delimiters paredit move-text markdown-mode json-reformat json-mode jinja2-mode hgignore-mode haskell-mode flycheck expand-region exec-path-from-shell company-ansible ansible-doc emmet-mode vertico orderless consult marginalia treesit-auto))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - )