[Init] Don’t assume ‘ag’ is installed, default to ‘rgrep’ in this case
This commit is contained in:
parent
a38efb3133
commit
dd6059785d
5
init.el
5
init.el
|
@ -159,7 +159,7 @@
|
|||
(bind-key "<f1>" #'db/run-or-hide-eshell)
|
||||
(bind-key "<f2> i" #'counsel-info-lookup-symbol)
|
||||
(bind-key "<f2> u" #'counsel-unicode-char)
|
||||
(bind-key "<f5>" #'counsel-ag)
|
||||
(bind-key "<f5>" #'rgrep)
|
||||
(bind-key "<f6>" #'hydra-zoom/body)
|
||||
(bind-key "<f7>" #'dictcc)
|
||||
(bind-key "<f8>" #'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 "<f5>" #'counsel-ag))
|
||||
|
||||
;; Environment Variables
|
||||
|
||||
(unless on-windows
|
||||
|
|
Loading…
Reference in New Issue