forked from colonelpanic/dotfiles
Add custom helm-projectile functions to mode map
helm-projectile's use package was reindented because it was not at the correct level before.
This commit is contained in:
parent
d14005fd18
commit
e3d4b7aed0
@ -1593,10 +1593,13 @@ I use helm for almost all emacs completion
|
|||||||
(helm-mode 1)))
|
(helm-mode 1)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
[[(helm split window)][Ensure that helm buffers are started in the window that currently holds the focus]]
|
[[(helm split window)][Ensure that helm buffers are started in the window that currently holds the focus]]
|
||||||
|
*** helm-projectile
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package helm-projectile
|
(use-package helm-projectile
|
||||||
:commands (helm-projectile-on)
|
:commands (helm-projectile-on)
|
||||||
|
:bind (:map helm-projectile-projects-map
|
||||||
|
("M-s" . imalison:switch-to-project-and-search)
|
||||||
|
("M-t" . imalison:helm-term-projectile))
|
||||||
:preface
|
:preface
|
||||||
(progn
|
(progn
|
||||||
(defun imalison:invalidate-cache-and-open-file (_dir)
|
(defun imalison:invalidate-cache-and-open-file (_dir)
|
||||||
@ -1623,11 +1626,11 @@ I use helm for almost all emacs completion
|
|||||||
(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)
|
||||||
(helm-add-action-to-source "Invalidate Cache and Open File"
|
|
||||||
'imalison:invalidate-cache-and-open-file
|
|
||||||
helm-source-projectile-projects)
|
|
||||||
(helm-add-action-to-source "Open term for project"
|
(helm-add-action-to-source "Open term for project"
|
||||||
'imalison:helm-term-projectile
|
'imalison:helm-term-projectile
|
||||||
|
helm-source-projectile-projects)
|
||||||
|
(helm-add-action-to-source "Invalidate Cache and Open File"
|
||||||
|
'imalison:invalidate-cache-and-open-file
|
||||||
helm-source-projectile-projects)))
|
helm-source-projectile-projects)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** projectile
|
*** projectile
|
||||||
|
Loading…
Reference in New Issue
Block a user