diff --git a/emacs/init.org b/emacs/init.org index 9459969..5ae9dd5 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2920,6 +2920,9 @@ An alternative minibuffer completion framework: (leader-def-key "ff" #'counsel-find-file) (leader-def-key "oc" #'counsel-org-capture) (leader-def-key "bb" #'counsel-ibuffer) + (if (executable-find "rg") + (leader-def-key "ig" #'counsel-rg) + (leader-def-key "ig" #'counsel-grep)) :general ("M-x" #'counsel-M-x) ("C-x C-f" #'counsel-find-file)