Emacs counsel default search switches

from blog lmno.lol @alvaro, | ↗ original
Following up from Enhanced Emacs searching with counsel switches, rather than remembering silver searcher and ripgrep switches, we can use counsel's ivy-initial-inputs-alist to set these up as default visible switches. (push '(counsel-ag . "--file-search-regex '' -- ") ivy-initial-inputs-alist) (push '(counsel-rg . "--glob '**' -- ")...