forked from colonelpanic/dotfiles
reindents of helm-projectile use-package
This commit is contained in:
parent
3207f64dc9
commit
506be7e780
@ -1439,19 +1439,19 @@ window is active in the perspective."
|
|||||||
:commands projectile-persp-switch-project)))
|
:commands projectile-persp-switch-project)))
|
||||||
|
|
||||||
(use-package helm-projectile
|
(use-package helm-projectile
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands (helm-projectile-on)
|
:commands (helm-projectile-on)
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(helm-delete-action-from-source "Search in Project" helm-source-projectile-projects)
|
(helm-delete-action-from-source "Search in Project" helm-source-projectile-projects)
|
||||||
(defun imalison:switch-to-project-and-search (dir)
|
(defun imalison:switch-to-project-and-search (dir)
|
||||||
(let ((default-directory dir)
|
(let ((default-directory dir)
|
||||||
(projectile-require-project-root nil)
|
(projectile-require-project-root nil)
|
||||||
(helm-action-buffer "this-buffer-should-not-exist"))
|
(helm-action-buffer "this-buffer-should-not-exist"))
|
||||||
(helm-projectile-ag)))
|
(helm-projectile-ag)))
|
||||||
(helm-add-action-to-source "Search in Project"
|
(helm-add-action-to-source "Search in Project"
|
||||||
'imalison:switch-to-project-and-search
|
'imalison:switch-to-project-and-search
|
||||||
helm-source-projectile-projects)))
|
helm-source-projectile-projects)))
|
||||||
|
|
||||||
(use-package smex
|
(use-package smex
|
||||||
:ensure t
|
:ensure t
|
||||||
|
Loading…
Reference in New Issue
Block a user