From f4d17707e7964889dadd38bbc2174ae9416d4554 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 22 Sep 2019 12:07:02 -0400 Subject: [PATCH] config/default: bind SPC f l to locate This will be remapped to counsel-locate or helm-locate if the ivy/helm modules are enabled. --- modules/completion/helm/config.el | 1 + modules/config/default/+evil-bindings.el | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/completion/helm/config.el b/modules/completion/helm/config.el index eae06e513..fac41f65b 100644 --- a/modules/completion/helm/config.el +++ b/modules/completion/helm/config.el @@ -41,6 +41,7 @@ be negative.") [remap bookmark-jump] #'helm-bookmarks [remap execute-extended-command] #'helm-M-x [remap find-file] #'helm-find-files + [remap locate] #'helm-locate [remap imenu] #'helm-semantic-or-imenu [remap noop-show-kill-ring] #'helm-show-kill-ring [remap persp-switch-to-buffer] #'+helm/workspace-mini diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 07fb88077..ae8a93bfc 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -630,6 +630,7 @@ :desc "Find file in emacs.d" "e" #'+default/find-in-emacsd :desc "Browse emacs.d" "E" #'+default/browse-emacsd :desc "Find file from here" "f" #'find-file + :desc "Locate file" "l" #'locate :desc "Move/rename file" "m" #'doom/move-this-file :desc "Find file in private config" "p" #'doom/find-file-in-private-config :desc "Browse private config" "P" #'doom/open-private-config