Only bind f5 once

Easier to see what is going on.
master
Daniel Borchmann 2 years ago
parent 331272afc1
commit d0b0cc06ff
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 5
      init.el

@ -170,7 +170,7 @@
(bind-key "<f12>" #'db/helm-shortcuts)
(bind-key "<f1>" #'db/run-or-hide-eshell)
(bind-key "<f2>" #'hydra-feature-shortcuts/body)
(bind-key "<f5>" #'rgrep)
(bind-key "<f5>" (if (executable-find "ag") #'counsel-ag #'rgrep))
(bind-key "<f6>" #'hydra-zoom/body)
(bind-key "<f7>" #'dictcc)
(bind-key "<f8>" #'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 "<f5>" #'counsel-ag))
(when (package-installed-p 'avy)
(bind-key "M-g M-g" #'avy-goto-line)
(bind-key "M-g g" #'avy-goto-line))

Loading…
Cancel
Save