diff --git a/init.el b/init.el index d30e785..ded1d05 100644 --- a/init.el +++ b/init.el @@ -159,7 +159,7 @@ (bind-key "" #'db/run-or-hide-eshell) (bind-key " i" #'counsel-info-lookup-symbol) (bind-key " u" #'counsel-unicode-char) - (bind-key "" #'counsel-ag) + (bind-key "" #'rgrep) (bind-key "" #'hydra-zoom/body) (bind-key "" #'dictcc) (bind-key "" #'counsel-locate) @@ -240,6 +240,9 @@ (when (package-installed-p 'ace-window) (bind-key "C-x o" #'ace-window)) + (when (executable-find "ag") + (bind-key "" #'counsel-ag)) + ;; Environment Variables (unless on-windows