Link: Emacs

Many of these packages are vailable in Doom emacs, which use vertico, consult, etc.

Completion framework

ivy

Auto completion framework

counsel

vertico

Replaced ivy-mode. When combined with orderless, it can perform search regardless of the text location.

consult-org-roam

Full text search using grep. Note that ripgrep and grep is conflicted with ivy-mode and helm-mode for some reason.

helm-org-rifle

Full text search with rich interface. Very slow though.

Swiper

Better search in current buffer to replace isearch.

Self-defined function to add all backlink to current node.

orderless

Can be combined with vertico to disregard the text sequence

helm

helm-find-files

replace the default C-x C-f

helm-M-x

replace default M-x

helm mode completion at point

excellent auto completion for org-roam

(use-package helm :custom ((helm-display-function #‘helm-display-buffer-in-own-frame) (helm-display-buffer-reuse-frame t) (helm-use-undecorated-frame-option t)))

helm-do-grep-ag

Great full text search with minimal UI and fast speed. It only searchs in the current directory though. Use standard grep to specify e.g. foo\ mod to include space. It didn’t not show the file path, only the file name

helm-ag

The silver searcher (enchanced of helm-do-grep-ag) It displays the file path, unlike the former.

helm-ag

Search in the current directory. Use C-u to specify the directory. Do not need to use \ to escape space. Do not support follow mode.

helm-do-ag

Need to specify the directory. The search function works the same as helm-do-grep-ag. Support follow mode.

Edit

org-transclusion

Evil-snipe

A super quick way to move horizontally by searching characters. https://youtu.be/ywRExNOyybY?si=mGKTZ9ox246-8WLY

File management

magit

A git manager.

Mail

mu4e

Set up mu4e based on tutorials: https://macowners.club/posts/email-emacs-mu4e-macos/#setup-mu4e-in-emacs https://www.erichgrunewald.com/posts/setting-up-gmail-in-doom-emacs-using-mbsync-and-mu4e/ System crafter’s YT Emacs Mail series

Multiple account

Add a .noindex to Trash or Spam file to avoid indexing and count them to Unread touch ~/Maildir/Gmail/[Gmail].Trash/.noindex && mu index Source: https://emacs.stackexchange.com/questions/21038/mu4e-bookmarks-how-to-hide-messages-for-folders-like-trash-and-spam

Spell check

  1. Add (:spell +flycheck) in doom emacs’ Inuit.Eli
  2. Run brew install aspell
  3. Create an ispell .pws file:
    mkdir -p ~/.emacs.d/.local/etc/ispell && touch ~/.emacs.d/.local/etc/ispell/.pws
  4. Go to the .pws file, and put personal_ws-1.1 en 0 at the beginning
  5. In config.el, add the following:
    setq ispell-personal-dictionary ~/.emacs.d/.local/etc/ispell/.pws"
  6. In Emacs, use M-x ispell-change-dictionary and change to the desired language (I use en_CA)
  7. Few different ways to use it:
    • Use ispell to go through spell check interactively
    • z t to check a word
    • C ; to correct a word. Type it again to choose the next option from correction list.

org-roam-dblocks

Link:

elfeed

Clean up elfeed-db

  1. Run elfeed-db-unload
  2. Delete everything in elfeed-db-directory

Source: https://github.com/skeeto/elfeed/issues/147