From d0b0cc06ff0f9025df9876bcdad2723385bdf022 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 12 Sep 2020 11:21:30 +0200 Subject: [PATCH] Only bind f5 once Easier to see what is going on. --- init.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/init.el b/init.el index f557665..fe64f9f 100644 --- a/init.el +++ b/init.el @@ -170,7 +170,7 @@ (bind-key "" #'db/helm-shortcuts) (bind-key "" #'db/run-or-hide-eshell) (bind-key "" #'hydra-feature-shortcuts/body) - (bind-key "" #'rgrep) + (bind-key "" (if (executable-find "ag") #'counsel-ag #'rgrep)) (bind-key "" #'hydra-zoom/body) (bind-key "" #'dictcc) (bind-key "" #'bm-toggle) @@ -256,9 +256,6 @@ (when (package-installed-p 'ace-window) (bind-key "C-x o" #'ace-window)) - (when (executable-find "ag") - (bind-key "" #'counsel-ag)) - (when (package-installed-p 'avy) (bind-key "M-g M-g" #'avy-goto-line) (bind-key "M-g g" #'avy-goto-line))