~hristoast/dot-emacs

f2664243c6b1708e7e6a0c003c83b449c30e5375 — Hristos N. Triantafillou 3 months ago 87ad12d
Added ag.el
2 files changed, 13 insertions(+), 0 deletions(-)

M lib/h-search.el
M straight/versions/default.el
M lib/h-search.el => lib/h-search.el +12 -0
@@ 3,6 3,18 @@
;; Packages related to editing.
;;; Code:

;; An Emacs frontend to The Silver Searcher
;; https://github.com/Wilfred/ag.el
(use-package ag
  :straight t
  ;; :ensure-system-package (ag . the_silver_searcher)
  :bind
  ("C-c s a" . ag)
  :config
  (setq ag-highlight-search t
        ag-reuse-buffers 't
        ag-reuse-window 't))

;; Ignore "vendor" directories when rgrepping. Useful for some go projects I've worked on.
(use-package grep
  :straight nil

M straight/versions/default.el => straight/versions/default.el +1 -0
@@ 1,4 1,5 @@
(("a.el" . "18966975db7110d0aac726be95b593e2fc3d44ed")
 ("ag.el" . "ed7e32064f92f1315cecbfc43f120bbc7508672c")
 ("alert" . "7046393272686c7a1a9b3e7f7b1d825d2e5250a6")
 ("all-the-icons-dired" . "a758766878b6e8b9eaaf41d68599a2df99e37f48")
 ("all-the-icons.el" . "b43d2b32f6de83c0dc7792a957f64e8444e59beb")