Merge pull request #1057 from ar1a/helm-project-search-bind

Bind SPC-/-p to +helm/project-search if using helm
This commit is contained in:
Henrik Lissner 2018-12-25 04:37:25 -05:00 committed by GitHub
commit b88c712715
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -482,11 +482,15 @@
(:prefix ("/" . "search")
:desc "Jump to symbol across buffers" "I" #'imenu-anywhere
:desc "Search buffer" "b" #'swiper
:desc "Search current directory" "d" #'+ivy/project-search-from-cwd
:desc "Search current directory" "d"
(cond ((featurep! :completion helm) #'+helm/project-search-from-cwd)
((featurep! :completion ivy) #'+ivy/project-search-from-cwd))
:desc "Jump to symbol" "i" #'imenu
:desc "Jump to link" "l" #'ace-link
:desc "Look up online" "o" #'+lookup/online-select
:desc "Search project" "p" #'+ivy/project-search)
:desc "Search project" "p"
(cond ((featurep! :completion ivy) #'+ivy/project-search)
((featurep! :completion helm) #'+helm/project-search)))
(:prefix ("]" . "next")
:desc "Increase text size" "[" #'text-scale-decrease
@ -696,7 +700,7 @@
:desc "Find other file" "o" #'projectile-find-other-file
:desc "Switch project" "p" #'projectile-switch-project
:desc "Recent project files" "r" #'projectile-recentf
:desc "List project tasks" "t" #'+ivy/tasks
:desc "List project tasks" "t" #'+ivy/tasks ; TODO: Add +helm/tasks
:desc "Invalidate cache" "x" #'projectile-invalidate-cache)
(:prefix ("q" . "quit/restart")