Ensure everything is installed

This commit is contained in:
Howard Abrams 2025-09-11 09:55:02 -07:00
parent c40a8f3420
commit ed73ac2bf2
9 changed files with 7 additions and 34 deletions

View file

@ -29,8 +29,7 @@ Can we call the following /applications/? I guess.
* Git and Magit
Can not live without [[https://magit.vc/][Magit]], a Git porcelain for Emacs. I stole the bulk of this work from Doom Emacs.
#+begin_src emacs-lisp
(use-package transient
:ensure t)
(use-package transient :ensure t)
(use-package magit
:after general
@ -134,7 +133,6 @@ This project (and others) can use repeat mode, but
The [[https://scripter.co/using-git-delta-with-magit][magit-delta]] project uses [[https://github.com/dandavison/delta][git-delta]] for colorized diffs.
#+begin_src emacs-lisp
(use-package magit-delta
:ensure t
:hook (magit-mode . magit-delta-mode))
#+end_src

View file

@ -334,7 +334,6 @@ This means (and I use this fairly often), that the /key/ is shows as a choice, t
The [[https://github.com/minad/vertico][vertico]] package puts the completing read in a vertical format, and like [[https://github.com/raxod502/selectrum#vertico][Selectrum]], it extends Emacs built-in functionality, instead of adding a new process. This means all these projects work together.
#+begin_src emacs-lisp
(use-package vertico
:ensure t
:config (vertico-mode))
#+end_src
My issue with Vertico is when calling =find-file=, the Return key opens =dired=, instead of inserting the directory at point. This package addresses this:
@ -355,14 +354,13 @@ My issue with Vertico is when calling =find-file=, the Return key opens =dired=,
This fuzzy completion style is like the built-in =flex= style, but has a better scoring algorithm, non-greedy and ranks completions that match at word; path component; or camelCase boundaries higher.
#+begin_src emacs-lisp
(use-package hotfuzz :ensure t)
(use-package hotfuzz)
#+end_src
While flexible at matching, you have to get the /order/ correct. For instance, ~alireg~ matches with [[help:align-regexp][align-regexp]], but ~regali~ does not, so we will use =hotfuzz= for scoring, and not use this as a completion-project (see the =fussy= project below).
*** Orderless
While the space can be use to separate words (acting a bit like a =.*= regular expression), the [[https://github.com/oantolin/orderless][orderless]] project allows those words to be in any order.
#+begin_src emacs-lisp
(use-package orderless
:ensure t
:commands (orderless-filter)
:custom
(completion-ignore-case t)
@ -402,7 +400,6 @@ The [[https://github.com/minad/marginalia][marginalia]] package gives a preview
#+begin_src emacs-lisp
;; Enable richer annotations using the Marginalia package
(use-package marginalia
:ensure t
:init
(setq marginalia-annotators-heavy t)
:config
@ -427,7 +424,6 @@ The [[https://gitlab.com/ideasman42/emacs-undo-fu][undo-fu]] isnt much to the
#+begin_src emacs-lisp
(use-package undo-fu
:ensure t
:config
(global-set-key [remap undo] 'undo-fu-only-undo)
(global-set-key [remap undo-redo] 'undo-fu-only-redo)
@ -596,7 +592,6 @@ After using [[http://company-mode.github.io/][company]] for my completion back-
#+begin_src emacs-lisp
(use-package corfu
:ensure t
:custom
(corfu-cycle t)
(corfu-separator ?\s)
@ -608,7 +603,6 @@ Using [[https://github.com/joaotavora/yasnippet][yasnippet]] to expand templates
#+begin_src emacs-lisp
(use-package yasnippet
:ensure t
:config
(add-to-list 'yas-snippet-dirs
(expand-file-name "snippets" user-emacs-directory))

View file

@ -139,7 +139,6 @@ I would appreciate seeing if my Emacs installation has the features that I expec
The [[https://github.com/emacs-dashboard/emacs-dashboard][emacs-dashboard]] project makes a nicer startup screen.
#+begin_src emacs-lisp
(use-package dashboard
:ensure t
:init
(defun ha-dashboard-version ()
(let ((smaller-version (replace-regexp-in-string
@ -181,8 +180,7 @@ The [[https://github.com/emacs-dashboard/emacs-dashboard][emacs-dashboard]] proj
This dashboard project requires [[https://github.com/purcell/page-break-lines][page-break-lines]] (which is a nice project):
#+begin_src emacs-lisp
(use-package page-break-lines
:ensure t)
(use-package page-break-lines)
#+end_src
* Right Side
@ -192,7 +190,6 @@ On the right side should show a list of keybindings or other hints that I want t
Lots of things to learn and keep straight. Lets try the [[https://github.com/mykyta-shyrin/cheatsheet][cheatsheet.el]] project.
#+begin_src emacs-lisp
(use-package cheatsheet
:ensure t
:config
(cheatsheet-add-group 'Text-Objects
'(:key "w" :description "word")

View file

@ -47,7 +47,6 @@ Let's turn off the menu and other settings:
Let's install and load some of packages from the [[https://github.com/hlissner/doom-emacs][Doom Emacs]] project, like [[https://github.com/seagle0128/doom-modeline][doom-modeline]] and maybe the themes:
#+begin_src emacs-lisp
(use-package doom-modeline
:ensure t
:init
(setq doom-modeline-minor-modes nil
doom-modeline-buffer-encoding nil
@ -87,8 +86,7 @@ either be "there or not" which resulted large jumps and large distractions.
#+BEGIN_SRC emacs-lisp
(use-package ultra-scroll
:ensure t
;; :ensure (:host github :repo "jdtsmith/ultra-scroll")
:ensure t ; (:host github :repo "jdtsmith/ultra-scroll")
:config
(setq scroll-conservatively 101 ; important!
scroll-margin 0)
@ -162,8 +160,7 @@ Am I ever really ever satisfied with any font? I regularly change my font based
#+begin_src emacs-lisp
(use-package mixed-pitch
;; :ensure (:host github :repo "jabranham/mixed-pitch")
:ensure t
:ensure t ; (:host github :repo "jabranham/mixed-pitch")
:config
(add-to-list 'mixed-pitch-fixed-pitch-faces 'org-property-value)
(add-to-list 'mixed-pitch-fixed-pitch-faces 'org-special-keyword)
@ -393,8 +390,7 @@ This project replaces [[https://github.com/domtronn/all-the-icons.el][all-the-ic
#+BEGIN_SRC emacs-lisp
(use-package nerd-icons
:ensure t
;; :ensure (:host github :repo "rainstormstudio/nerd-icons.el")
:ensure t ; (:host github :repo "rainstormstudio/nerd-icons.el")
:custom
;; The Nerd Font you want to use in GUI defaults to fixed-font:
(nerd-icons-font-family ha-fixed-font))
@ -661,8 +657,7 @@ Suggests to bind some keys to =hl-todo-next= in order to jump from tag to tag, b
#+begin_src emacs-lisp
(use-package consult-todo
;; :ensure (:host github :repo "liuyinz/consult-todo")
:ensure t
:ensure t ; (:host github :repo "liuyinz/consult-todo")
:init
(defconst consult-todo--narrow
'((?t . "TODO")

View file

@ -712,7 +712,6 @@ The gods ordained that Mail and Org should dance together, so step one is compos
A new option is to use [[https://github.com/jeremy-compostella/org-msg][org-msg]], so let's try it:
#+begin_src emacs-lisp :noweb yes
(use-package org-msg
:ensure t
:init
(setq org-msg-options "html-postamble:nil H:5 num:nil ^:{} toc:nil author:nil email:nil \\n:t"
org-msg-startup "hidestars indent inlineimages"

View file

@ -456,7 +456,6 @@ I like both [[https://github.com/emacs-evil/evil-surround][evil-surround]] and H
#+begin_src emacs-lisp
(use-package evil-surround
:ensure t
:config
(defun evil-surround-elisp ()
(push '(?\` . ("`" . "'")) evil-surround-pairs-alist))

View file

@ -446,7 +446,6 @@ Using the [[https://graphviz.org/][graphviz project]], create charts with /textu
#+begin_src emacs-lisp
(use-package graphviz-dot-mode
:ensure t
:mode "\\.dot\\'"
:init
(setq graphviz-dot-indent-width 2
@ -880,7 +879,6 @@ And the Emacs interface to that:
#+begin_src emacs-lisp :tangle no
(use-package jinx
:ensure t
;; :ensure (:host github :repo "minad/jinx" :files (:defaults "jinx-mod.c" "emacs-module.h"))
:hook (emacs-startup . global-jinx-mode)
:bind (("C-;" . jinx-correct-nearest)
@ -1083,7 +1081,6 @@ Another flycheck feature is to use [[http://languagetool.org][LanguageTool]] con
#+BEGIN_SRC emacs-lisp :tangle no
(use-package flycheck-languagetool
:ensure t
:hook (text-mode . flycheck-languagetool-setup)
:init
(setq flycheck-languagetool-server-jar (expand-file-name "/opt/homebrew/Cellar/languagetool/6.6/libexec/languagetool-commandline.jar")

View file

@ -37,7 +37,6 @@ The [[https://github.com/tarsius/paren-face][paren-face]] project lowers the col
#+begin_src emacs-lisp
(use-package paren-face
:ensure t
:hook (emacs-lisp-mode . paren-face-mode))
#+end_src
@ -129,7 +128,6 @@ My primary use-case is for its refactoring and other unique features. For instan
#+begin_src emacs-lisp
(use-package lispy
:ensure t
:config
(when (fboundp 'evil-define-key)
(evil-define-key '(normal visual) lispyville-mode-map
@ -190,7 +188,6 @@ Use the ~>~ key to /slurp/ in outside objects into the current expression… in
#+begin_src emacs-lisp
(when (fboundp 'evil-define-key)
(use-package lispyville
:ensure t
:after lispy
:hook ((emacs-lisp-mode lisp-mode) . lispyville-mode)))
#+end_src
@ -199,7 +196,6 @@ Now we need to define additional key movements:
#+begin_src emacs-lisp
(when (fboundp 'evil-define-key)
(use-package lispyville
:ensure t
:after lispy
:config
(lispyville-set-key-theme '(operators atom-movement
@ -320,7 +316,6 @@ The idea of stealing some of Clojure Modes refactoring is brilliant (see [[ht
The [[https://github.com/xiongtx/eros][eros]] package stands for Evaluation Result OverlayS for Emacs Lisp, and basically shows what each s-expression is near the cursor position instead of in the mini-buffer at the bottom of the window.
#+begin_src emacs-lisp
(use-package eros
:ensure t
:hook (emacs-lisp-mode . eros-mode))
#+end_src

View file

@ -69,7 +69,6 @@ While Emacs has options for viewing and moving around code, sometimes, we could
Note that =hide-show= doesnt work with complex YAML files. The [[https://github.com/gregsexton/origami.el][origami]] mode works better /out-of-the-box/, as it works with Python and Lisp, but falls back to indents as the format, which works well.
#+begin_src emacs-lisp
(use-package origami
:ensure t
:init
(setq origami-fold-replacement "⤵")
:hook (prog-mode . origami-mode))